
Search In
Hello Readers ,
If we want to insert more records at the end of an array then their is function called array_push() that we can use.
Example :
If we have an existing array array("red","green"); and we want to insert two more values at the end of t
Hello Readers ,
If we have an array and we want to delete the last record in an array then their is a function called array_pop() .
The array_pop() function deletes the last element of an array.
Example :
<?php
$a=array("red","green","blue");
To create a random string of x characters using defined string of possible characters we will first of all define a function which will return a random string of length that you have passed as a parameter to the function. The script is given below:
Hi Reader's,
Welcome to FindNerd, today we are going to discuss the use of reset() function in php ?
So, basically The reset() function moves the internal pointer to the first element of the array.
syntax of reset() function
reset(array);
arr
Hello Friends
This is a good practice if we include only essential files on every page like I have implemented dropbox on a particular abc page and this idle to include this file only on abc page or where it is require. Please look at the below code
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to unlink a directory by using PHP ?
The unlink() function is used to deleted a file.unlink() function returns TRUE on success and FALSE on failure.
syntax of unlink() functio
To cleanup the timeout, just use ".cancel()":
var customTimeout = $timeout(function () {
// your code
}, 55);
$timeout.cancel(customTimeout);
The same applies to $interval().
To disable a watch, just call it.
// .$watch() returns a deregistra
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to pass arguments to PHP ?
If you want pass some arguments into function and elements of an array.
Then Your arguments will be receive by your function as d
In some of the devices while uploading/adding new image into media are not shown to the custom gallery view. However this does not seem to update until the device reboots. To update your custom gallery with new images, below few lines of code will he
Android provide many ways to store or save data of an application, like Shared Preferences, internal storage,external storage, SQLite database and storage on network.
Here we will learn how to save data in the internal memory of the android device.
