On 12 Mar 2004 Elliot J. Balanza wrote:
> .....
> $row_prefs = mysql_fetch_assoc($prefs);
> .....
> while ($row_prefs = mysql_fetch_assoc($prefs)) {
> .....
> and it works fine EXCEPT it wont show the first record of the query... any
> ideas why?
Yes ... see the two lines quoted above. Each time you call
mysql_fetch_assoc you get another record. The first one loads the
first record, the second loads all the others. Delete the first call
and it should do what you want.
--
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php