I had a look at some examples from Google, but none of them seem to work. For example one of them said that if you do:
<HTML> <BODY> This page is loading.<br /> <?php flush(); sleep(2); ?> Almost there...<br /> <?php flush(); sleep(2); ?> Done.<br /> </BODY> </HTML>
The pieces of text would get flushed out in turn, but when I try it, they just all get printed together at the end, like normal.
I tried various different methods of that, but I can only ever get it to print all the output together when everything has finished.
Could someone point me to/provide me with an example that actually works, so I can see how to use them properly?