I've been looking, and I thought I'd ask about delaying execution of php scripts on one page.
I've tried
<? sleep(10); ?>
example:
<?php
// current time
echo date('h:i:s') . "\n";
// sleep for 10 seconds
sleep(10);
// wake up !
echo date('h:i:s') . "\n";
?>
But it seems to delay the entire page, whereas, I'd like to delay the second wake up alert for ten seconds, while the first shows before the sleep function.
Is there a function for this?