mysql_fetch_array missing first record
| From: | Jamie | Date: | Tue, 07 Aug 2001 20:41:07 +0000 |
| Subject: | mysql_fetch_array missing first record | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11114@lists.php.net to get a copy of this message | ||
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.
Why is this and how can I get round it?
Thanks.
Jamie Saunders