
Search In
The logs that are generated on the Appium server gets removed as soon as we close the server. If there is a need to study the logs to find the root cause of any issue then we have to save the logs before closing the server. Appium provides a way to s
We can load view into another view in codeigniter by creating a helper function and place the following code.
function loadView($view,$data = null){
$CI = get_instance();
return $CI->load->view($view,$data);
}
Next in the controll
There must be a situation where we need to redirects all non www requests to www. We can easily redirect user from non-www to www url string using following ways. for example , if a user makes a request for http://mysite.com/param1/param2, so with th
foreach() function provides an easy way to scan arrays & exactly do the same thing like for loop, so this function is said to be PHP foreach loop. foreach loop works only on arrays.
Syntax:
foreach ($arrayname as $value) {}
Example: In the be
Hello Readers if you want to send the array into another PHP page then you can use the code below:-
I have array made by function .push. In array is very large data. How is the best way send this to PHP script?
dataString = array(a->b); // arra
Hello Readers, If you want to implode the array keys from multi-dimensional array then now PHP 5.5 offers you much easier way to do this.
Lets see the example as below:-
Array
(
[0] => Array
(
[studenID] => 54874
You will always get a situation where you want to compare the values with each other whether with the integers or with the string comparison.
We can easily compare two strings with the help of comparison operator.If the two strings are equal to each
tabnanny module helps us to check Python source files for
With the help of tabnanny module we can checks Python source files for unclear indentation. If a tabs and spaces are mixed by a file in such a way that throws off indentation, no matter what
Hello Guys
ScreenName is nik name or unique identification of the user and we need to use screenname for user tagging and identify the user in liferay.
There are two ways to get screenname of current user :
Step 1: Get screenname of curren
We pass information to a CGI program in the POST method. And post packages give the information in exactly the same way as GET methods but instead of sending it as a text string after using post. In the URL it sends it as a separate message. This mes
