RE: [PHP-DB] Flushing PHP output

From: Date: Fri, 23 Nov 2001 02:00:05 +0000
Subject: RE: [PHP-DB] Flushing PHP output
Groups: php.db 
Request: Send a blank email to php-db+get-14551@lists.php.net to get a copy of this message
if you just echo() the results/messages as you come across them, the page should "incrementally" load. 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. 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. HTH /beau // -----Original Message----- // From: Neil Lathwood [mailto:neil@lathwood.co.uk] // Sent: Friday, 23 November 2001 1:59 AM // To: php-db@lists.php.net // Subject: [PHP-DB] Flushing PHP output // // // Hi Folks, // // What I am trying to accomplish is: // // I want to have a web page access a number of DB's, this will // start with one // but on a monthly basis increment by one. So within 12 months // their will be // 12 DB's. The web page will access each one in turn starting // with the newest // DB and search through this for certain text. After a query // has ended it // moves on to the next and so on. // // I want the PHP page to output html in the lines of: // // Scanning DB mm/yyyy.... // // No results / Results depending on what it finds. // // <flush output so user can see if it has found what he is looking for> // // Scanning DB mm/yyyy.... // // Etc. // // I hope this explains what I am trying to do. Any pointers // would be great. // // Thanks in advance // // Neil // // // -- // PHP Database Mailing List (http://www.php.net/) // To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net // For additional commands, e-mail: php-db-help@lists.php.net // To contact the list administrators, e-mail: // php-list-admin@lists.php.net //

« previous php.db (#14551) next »