----- Original Message ----- From: "Thorsten Suckow-Homberg" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General" <php-general@lists.php.net>
Sent: Thursday, March 02, 2006 11:13 PM
Subject: Re: [PHP] Only 4 of 5...


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

Aha, this seems reasonable! Thanx, this solved it!

/G

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to