Re: Delaying Printed Output

From: Date: Sat, 24 Mar 2001 18:41:55 +0000
Subject: Re: Delaying Printed Output
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45435@lists.php.net to get a copy of this message
You can use the following commands: sleep(seconds); usleep(microseconds);
I've tried those 2 functions, in an example like this: PRINT "This<br>"; SLEEP(2) ; PRINT "Is a<br>"; SLEEP(2); PRINT "TEST"; But the way it works in the browser is to wait for a total of 4 seconds and then it displays all the text at once, not one line at a time - which is what I'm after. Greg

« previous php.general (#45435) next »