in reply to A delay effect...
The main reason being that, odds are these days that you'll be doing this in an HTML table, and a table won't render until the whole thing is received by the browser (and until contained images are received if IMG tags don't contain valid height and width attributes).
So all it will do is slow the page rendering down.
If you are out of a table, you can get away with sleep(2), $|++ at the beginning of the script, and including a \n in the print statement before the sleep.
But, please ask yourself if this is really the best way to go...
.02
cLive ;-)
|
|---|