In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Greg Scott) wrote:

> > 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.

You might try using flush() after the prints.

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to