note 8666 deleted from mysql_fetch_array by ronabop

From: Date: Wed, 27 Sep 2000 12:49:51 +0000
Subject: note 8666 deleted from mysql_fetch_array by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5518@lists.php.net to get a copy of this message
I have a question does anyone have a way of finding out where you are in the result. when running while ($row = mysql_fetch_array ($result)) { stuff here... } is there any way besides setting a counter of finding out what where you are as in i have looped 20 times there are 5 left. Curently i use a counter varable to keep track of where i am i just thought there should be a better way of testing the result to see where you are. kill-9 www.kill-9.dk

« previous php.notes (#5518) next »