Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to push more values in an array in PHP

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

How to delete last element in an array

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");

Create a random string of x characters using defined string of possible characters

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:

How to use reset() function in php ?

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

How to include file only on specific page in wordpress

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

What is process to unlink a directory in PHP ?

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

How do you reset a $timeout, and disable a $watch().

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

What is process to pass arguments to PHP ?

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

How to update/refresh device gallery after adding new images

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

Saving data into internal storage location in Android

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.

1 … 89 … 168
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: