Re: mysql_fetch_array missing first record

From: Date: Tue, 07 Aug 2001 20:44:54 +0000
Subject: Re: mysql_fetch_array missing first record
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11116@lists.php.net to get a copy of this message
At 9:41 PM +0100 8/7/01, Jamie wrote:
Hi, I have this code to display records from a table by reading them into an array: while ($previews = mysql_fetch_array($result) {
    code to display record here...
} For some reason it refuses to display the very first record in the table.
The first record in the table, or the first record in the result set?
Why is this and how can I get round it?
Hard to say without seeing the surrounding context.
Thanks. Jamie Saunders
-- Paul DuBois, paul@snake.net

« previous php.db (#11116) next »