> I tried this... it just continually refreshes ... and doesn't 
> ever re-direct
> to my page..  am i missing something?

If the URL is correct, it should work.

The *first* page should have this code. The variable $query_page contains
the URL to the *next* page, which contains the database query code:

echo("<HTML><HEAD><META HTTP-EQUIV=\"refresh\"
CONTENT=\"0;url=$query_page\"></HEAD><BODY>processing...please
wait</BODY></HTML>");

> > > -----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..

-- 
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]

Reply via email to