Refreshing php page whilst looping through array

Associate
Joined
3 Oct 2004
Posts
68
Location
Biggin Hill
Hi all,

Wonder whether anyone can assist. I am loopig through many tables in a database and doing a count of rows, as I go through each table I want to tell the user what table I am counting and then the count. Is this possible?

I am using PHP, any pointers would be fantastic

Many Thanks in advance

Dean
 
you wouldn't be able to do a timed refresh (afaik) with just php. you'll need to use javascript for this or ajax which is basically javascript any way just a little tiny bit more harder but much much better then what i can think with just javascript.
 
you wouldn't be able to do a timed refresh (afaik) with just php. you'll need to use javascript for this or ajax which is basically javascript any way just a little tiny bit more harder but much much better then what i can think with just javascript.

You can but it's a little awkward, bounce the loop between two php pages with url encoded pointers for loop position, mind you there's probably many many reasons not to...
 
Back
Top Bottom