Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wait php

sleep($number_of_seconds);
usleep($number_of_microseconds);

<?php
echo date('h:i:s'); //17:30:30
// Stop  1 second
sleep(1);
//usleep(1000000); // the same in microsecondes 
//for more 1 second use sleep 

echo date('h:i:s');//17:30:31
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #wait #php
ADD COMMENT
Topic
Name
2+1 =