Re: Transparent session handling

From: Date: Fri, 09 Jun 2000 14:40:28 +0000
Subject: Re: Transparent session handling
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-1395@lists.php.net to get a copy of this message
What about 'flush()'? maybe something like: $flush_after = 20; // flush output after this many rows $counter = 0; while ($a = mysql_fetch_array ($big_result)) { $counter++ if (!($counter%$flush_after)) { flush(); } // print the stuff print "$a[field1] $a[field2]<BR>"; } // note: This won't help in netscape if you're outputting all content into a table hth Ryan > There doesn't appear to be any documentation on the output buffering. Is > there any way to do an incremental flush? Rather than just one big flush > at the end? > > Peter > > -------------------------------------------------- > Peter D. Kovacs KnowPost.com LLC > Lead Engineer peter@knowpost.com > --------------------------------------------------

« previous php.general (#1395) next »