
Search In
What does array_rand() function in php.?
The array_rand() function returns a random key from an array, or it returns an array of random keys if you specify that the function should return more than one key.
Syntax of array_rand() function:array_ran
Firstly let us know what is session ?
Session variables hold information about one single user, and provide to all pages information in one application.
So, session basicallu store informatiom in a variable and provine in multiple page for a single
There are many way to check image extension before uploading.
But "in_array()" function it is very useful way to check image extension when you are uploading a lots of extensions to validate.
if the "in_array()" function fails, this mean conditio
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to make a download link ?
So we will use HTML anchor download attribute for making a download link.Because The download attribute is used to specifies that the target will be dow
Hello Readers,
In jquery when we use the two or more than two same id's as a selector or elements and operate over jquery event than sometimes effect on its performance due to caching.
For Example :
$("#mydemo").css("color", "red");
//Doing some
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use get_browser() Function in php ?
The get_browser() function returns the capabilities of the user's browser.
It looks up the user's browscap.ini file.
syntax of get_browser
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use ftp_size() function in php ?
The ftp_size() function is used for returning the size of a specified file on the FTP server.
This function returns the file size in bytes on s
have a quiz script. My script contains quiz.js, getquestions.php, insertresults.php. In quiz.js:
var i = 1;
var sec = 20;
var timetaken = 0;
var answer;
var points;
var result = .5;
var score = 0;
var f = new Date();
var duration;
var containerWidth
Anonymous means no name, a class with no name called as Anonymous class. But is has advantage like to create an instance of class in one step.
We can'e create an object of this class since it has no name.
An anonymous class can implement interf
Many time you need to refresh your page without reloading the whole page.
Some time you need it to be done automatically after a certain time.
You can do it by ajax and jquery.
Here i am writing a function which will refresh div after 10 sec.
