
Search In
Why use array_flip() function in php.?
The array_flip() function mainly used for exchanging all keys with their associated values in an array.
Syntax of array_flip() function:
array_flip(array)
You can take reference form below example to use of
What is use of filter_var() function. ?
The filter_var() function filters a variable with the specified filter.
Syntax of filter_var() functionfilter_var(var, filtername, options)
You can see below example of array_rand() function in php.
<?ph
Following example illustrate how you can Generate Match Token for ALL records in Base Object using SIF API:
ExecuteBatchGenerateMatchTokensRequest req = new ExecuteBatchGenerateMatchTokensRequest();
req.setTableName("MY_BASE_OBJECT"); // BO tab
Helpers is a classes which contains presentation logic that is shared between many views,layouts and elements.
First need to create helper file which must be stored inside app/Helper/EntriesHelper.php
App::uses('AppHelper', 'View/Helper');
class M
There are many times there is a need to install the application programmatically in our testcase. The first thing that we should do before installing the application is to check that whether the desired application is installed in the device or not.
Hello Readers if you want to update mulitple record by multiple id, then you have to use in clause in MySql
Lets see the example as below:-
$ids = array(474,25, 99,101);
Here I have an array $ids with multiple id's. Now this array will be inse
Their is function called "array_count_values()" which will count all the values of an array.
Lets suppose we have an array **array("A","Cat","Dog","A","Dog");** and we want to count the values of an array.
Example :
<!DOCTYPE html>
<html
Hi Reader's,
Welcome to FindNerd, today we are going to discuss about end() function.
The end() function is used for printing last element of an array.
It is advances array ‘s internal pointer to the last element.
syntax of end() function
end(ar
Hi Reader's,
Welcome to FindNerd, today we are going to discuss about key() function in php.
The key() function returns the index element of the current array position.
Or we can say that returns the element key from the current internal pointer
You can easily locate user position using Geolocation API. It is used to get the geographical position of user. However it is much more accurate for devices like iphone with GPS. We can find the user position by using etCurrentPosition() method. So
