My problem is more compound than the title, but first off:
Is it possible to display a php page saying something like:
"Gathering information..."
while a php php script executes, and then refreshing to the content when it's loaded?
I saw some code in the zend library that would allow two php pages to load that would do this, but I've lost the link now...
If so, is it possible to put that code specifically in a <div> element and have the div reload only?
The reason is I have a page which loads all the info from my fbase (which loads fast, and I want to display first) and a <div> on that page contains code which checks numerous sites for current prices of the product displayed.
The slow down on the page at the moment is the script checks each manufacturer website for the current price, with a timeout of 10secs. If a couple of company sites are slow or down, the page takes ages to load.
I have a work around which uses ob_start() and ob_end_flush(), but only works if the price checker code comes at the bottom of the page... and I need it at the top! Using absolute positioned divs is not an option unfortunately.
If anyone can understand the problem,and offer a solution, I'd be most grateful - a solution to the first problem (two page display) would at least point me in the right direction....
Cheers
Andy