note 3284 deleted from pg_Fetch_Object by jmoore
| From: | jmoore@php.net | Date: | Fri, 18 Aug 2000 22:59:49 +0000 |
| Subject: | note 3284 deleted from pg_Fetch_Object by jmoore | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2538@lists.php.net to get a copy of this message | ||
You are getting the - Warning: Unable to jump to row 2144 on PostgresSQL result index 2 - error
because your $result is
empty. To check whether or not the $result = pg_exec($conn,$sql ) command works I use:
<pre>$rows = PG_NUMROWS($result);</pre>
Then I check to see if $rows<1, if it is then pg_Fetch_Object() will return an error.