RE: [PHP-DEV] please remove pgsql warning on fetch_row - includes diff
| From: | Marc Boeren | Date: | Mon, 26 Mar 2001 09:56:25 +0000 |
| Subject: | RE: [PHP-DEV] please remove pgsql warning on fetch_row - includes diff | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49947@lists.php.net to get a copy of this message | ||
> while (@pg_fetch_row()) {
> ...
> }
>
>will suppress the warnings just for the call to pg_fetch_row.
I know, but I'm not calling it from within php-script, but from the
dbx-module (in C-code).
Plus, calling it with @ also suppresses any other warnings pg_fetch_row
should rightly give.
IMO, a wrong row-index should just return false, as stated in the
documentation.
Cheeiro, Marc.