#18417 [Opn->Bgs]: pg_fetch_array says Unable to jump to row 0 on PostgreSQL result index
| From: | yohgaki@php.net | Date: | Sun, 28 Jul 2002 10:52:39 +0000 |
| Subject: | #18417 [Opn->Bgs]: pg_fetch_array says Unable to jump to row 0 on PostgreSQL result index | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15439@lists.php.net to get a copy of this message | ||
ID: 18417
Updated by: yohgaki@php.net
Reported By: mfahey@enter.net
-Status: Open
+Status: Bogus
Bug Type: PostgreSQL related
Operating System: freebsd-latest
PHP Version: 4.1.2
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
If you ask php-general, someone may answer. Try 4.2.x or later if you
would like, there are many new useful functions.
Previous Comments:
------------------------------------------------------------------------
[2002-07-18 14:48:43] mfahey@enter.net
pg_fetch_array says this
"Unable to jump to row 0 on PostgreSQL result index"
when the query returns no results.
How is one suppose to Get an ASSOC array with using @ infront of the
function and not getting an error when the query has no results?
$tmp = pg_fetch_array($results,0,PGSQL_ASSOC);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18417&edit=1