warning on fetch
| From: | Travel Jadoo | Date: | Mon, 07 Apr 2003 22:14:09 +0000 |
| Subject: | warning on fetch | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142759@lists.php.net to get a copy of this message | ||
I get a warning when I do a simple
$row = 0;
while( $data = @pg_fetch_object( $result, $row ) ) {
$array[$item] = $data ;
}
Warning: pg_fetch_object() [function.pg-fetch-object]: Unable to jump to
row 0 on PostgreSQL result index 21.
I know this is a most basic transaction so why should this generate a
warning and not say a notice? It's a nuisance as I like to see 'real'
warnings but not this sort of thing.
Any ideas?
Alfred