
Search In
JavaScript String valueOf() method : The valueOf() method is used to cast the string object to the primitive value. It doesn't change the original string.
Syntax of the valueOf() method :
string.valueOf()
Example of valueOf() method : Here I wi
JavaScript String toLowerCase() method : The toLowerCase() method is used to convert the letters to the lower case. It doesn't change the original string. It returns the new string in lower case.
Syntax of toLowerCase() method :
string.toLowerCase(
encodeURI() function in JavaScript : The encodeURI() function is used to encode the URL parameters. It only encode the special characters except: , / ? : @ & = + $ #.
Syntax of encodeURI() function :
encodeURI(uri)
uri : Required. The url
In the following article we will learn how to insert results of a stored procedure to a table. There are two approaches to do this depending on whether we know the table schema beforehand or not.
We will be using the following stored procedure to ill
Hello Reader's! If you want to get all of the folder inside a given directory then PHP offers you many ways to do that, Lets see them from the basic programs.
you can use glob() with GLOB_ONLYDIR option
here's how you can see how to retrieve only d
I remember i was working on a project where there was a large set of data in the resultset and on the basis of that data i have to update some other model but i was unable to do it in batches due to some reason. So i was searching for a method in rub
Recursive in Cakephp is used to set the depth of result when find() methods are used. It retrieves the records associated with model data.Using recursive we can limit the required data. Lets consider an example of recursive by taking an example of bo
Multidimensinal array is the array of arrays. You can store multidimensional array as follows:
$arr=array(
array(1,"demo1","demo2"),
array(1,"demo3","demo4"),
array(1,"demo5","demo6"),
array(1,"demo7","demo8")
);
To traverse a multidimensional arr
Hello Reader in this blog you will see how to get result of two arrays in a single array using PHP
Array one name information
Array
(
[0] => Array
(
[0] => 125479
If you want to compute the difference of two or more than 2 array with index means to compare 2 array with the index of arrays for this you can use the predefined PHP function "array_diff_assoc()".
array_diff_assoc() compares array1 against array2 an
