Posted by Ivan Marsh on 11/02/07 21:39
On Fri, 02 Nov 2007 16:09:50 -0400, Ron Croonenberg wrote:
> Hello,
>
> I have a window where it could take a while to display the info. While
> waiting I want to display a "progress bar". Once the info is ready to be
> displayed I want the "progress bar" to disappear.
>
> Can this easiest be done with an animated gif ? if so, how do I make
> that gif disappear with php ?
You can't.
PHP is a server-side language. By the time the page has been delivered to
the browser the PHP script has finished processing.
You'd have to do this is a client-side language like JavaScript.
--
I told you this was going to happen.
[Back to original message]
|