Bug #1630: pg_fetch_array broken?
| From: | P dot deVries at cable dot a2000 dot nl | Date: | Wed, 30 Jun 1999 05:31:12 +0000 |
| Subject: | Bug #1630: pg_fetch_array broken? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7860@lists.php.net to get a copy of this message | ||
From: P.deVries@cable.a2000.nl
Operating system: Linux kernel 2.2.10
PHP version: 3.0.11
PHP Bug Type: PostgreSQL related
Bug description: pg_fetch_array broken?
After upgrading from 3.0.8 to 3.0.11, pg_fetch_array doesn't
seem to work anymore. I get the message "Document contains
no data". Switching to pg_result($result,$row,"field")
solved the problem for me.
BTW, the same goes for pg_fetch_row.
Modules: --with-pgsql --enable-debug=no
Setup: Apache 1.3.6
mod_ssl 2.3.5 / openssl 0.9.3a
php 3.0.11