Sleep is very common method in every language. How sleep function works we need to understand.
Sleep function delays the program execution for the given number of seconds.
Usleep delays program execution for the given number of micro seconds.
Following is the php example with sleep function
<?php
echo date('h:i:s') . "<br />";
//stop execution for 30 seconds
sleep(30);
//start again
echo date('h:i:s');
?>
Following is the php example with usleep function
<?php
echo date('h:i:s') . "<br />";
//stop execution for 30 seconds
usleep(30000000);
//start again
echo date('h:i:s');
?>






I can’t but agree.I always wanted to write in my site something like that but I guess you’r faster.