Friday, December 09, 2005

PHP: Hide Progress Bar After Page Fully Loaded

How do you show a progress bar when something has partially loaded, and get rid of it on the same page when it is done loading?

echo "<div id='a'><center>Processing Data<br>";
echo "<img src=''">;
echo "</center></div>";
sleep(5);//do real work or just sleep (for testing)
echo "Afterwords: <br>";
echo "<img src=''

No comments: