Forum Moderators: coopster
Thanks
do you want your script to run at a certain time? say every $x minutes? If this is what your after you probably want to use something like "cron"
or
do you want to call the script from you browser and do something every $x seconds? If you want to send info to the browser at a set interval you could try something like..
<?
while( $x < 5)
{
sleep(10); #10 is the number of seconds to wait
echo 'the time is ';
echo date("Y-m-d h:i s");
$x++;
}
?>
If you're looking for a pause and resume type function look at
[php.net...]