PHP Counter?
| From: | Nick Wilson | Date: | Sun, 26 Sep 2004 18:49:09 +0000 |
| Subject: | PHP Counter? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197892@lists.php.net to get a copy of this message | ||
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...
--
Nick W