note 37472 deleted from function.mysql-fetch-array by sp
| From: | sp@php.net | Date: | Sun, 16 Nov 2003 22:02:22 +0000 |
| Subject: | note 37472 deleted from function.mysql-fetch-array by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60464@lists.php.net to get a copy of this message | ||
Note Submitter: Lucious
----
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?