note 37472 added to function.mysql-fetch-array

From: Date: Sun, 16 Nov 2003 21:54:00 +0000
Subject: note 37472 added to function.mysql-fetch-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-60463@lists.php.net to get a copy of this message
Maybe I'm asking a stupid question, but I cannot solve this problem. when I use this: $q = mysql_query("select * from table"); while ($res = mysql_fetch_array($q)) { $res_chk = $res["ID"]; echo "ID No. = ".$res_chk."<br>"; } The result is only the last 20 rows, and no more. What's wrong with this query? ---- Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-array.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37472 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37472&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37472&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60463) next »