> was wondering how you would incroment $counter in a while loop.. i want to > print it out next to each record for a record counter on a web page...
while(whatever) { $counter++; echo "You are on loop #$counter"; } ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php