Re: Only 4 of 5...

From: Date: Thu, 02 Mar 2006 22:13:28 +0000
Subject: Re: Only 4 of 5...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-231379@lists.php.net to get a copy of this message
Because of this:
$dbArray = mysql_fetch_array($querys);
This will fill $dbArray with the first row fetched from the table. 4 are left which you are calling in your loop at the end of your code example. What's your reason anyway to call mysql_fetch_array() here? Delete this line and I'd bet you're getting your 5 results ;) HTH Thorsten

« previous php.general (#231379) next »