Nick Wilson wrote:
Hi all,

I have a script that at the present just outputs '$count .'<br />''
after each iteration of a foreach() loop.

I have set implicit_flush so that this works.

That's clearly monkey poo though eh? :-)

Do I have to get into unkown waters and try and make PHP talk to JS to
achieve a kind of 'hit counter' like effect or is there some easier way?

::explanation
It should print the $count var after each iteration *replacing* the last
$count

Im stumped. A little guidance would be much appreciated...

Either JS or Refresh header with some timeout. With JS you can use a input textbox styled to not have any borders. Refresh header will refresh the whole page.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to