If you redirect into the query page using a META refresh, you can display the message:
echo("<HTML><HEAD><META HTTP-EQUIV=\"refresh\" CONTENT=\"0;url=your_url_here.php\"></HEAD><BODY>processing... please wait</BODY></HTML>"); The message will display until the query page finishes. Kirk > -----Original Message----- > From: DigitalKoala [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 12, 2001 2:17 PM > To: [EMAIL PROTECTED] > Subject: [PHP] flushing contents to the browser > > > hi folks, > > i'm trying to display something like "processing... please > wait" on a web > page whilst a rather hefty database query is being run. > > i don't want to refresh the page so i've been attempting to > use flush and > ob_start, together with some css stuff to try and do this.. > but no luck so > far - as once the buffer has been flushed, i can't retrieve > the content.. > > does anyone have any nifty ideas? > > many thanks > dk > > > > -- > PHP General 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 General 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]