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:[EMAIL PROTECTED]] // Sent: Friday, 23 November 2001 1:59 AM // To: [EMAIL PROTECTED] // 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: [EMAIL PROTECTED] // For additional commands, e-mail: [EMAIL PROTECTED] // To contact the list administrators, e-mail: // [EMAIL PROTECTED] // -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]