Re: Flushing PHP output
| From: | Jon Farmer | Date: | Fri, 23 Nov 2001 09:21:03 +0000 |
| Subject: | Re: Flushing PHP output | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14554@lists.php.net to get a copy of this message | ||
> in my experience (IE5?) if there is data being "added" to the page, then
the
> browser will display what it can, and keep adding to it until the stream
> breaks or it finishes.
Only if the buffer has been flushed!
> one thing to note is that you wouldn't be able to do
> any tables because they don't display until the code all the way to the
end
> of the table is available.
tables are fine for buffered output. You just need to send a complete table
in each flushed output. In the original posters application he could use a
seperate table for each db call, then flush and they will display fine.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key