note 62044 rejected from function.pg-fetch-result by betz
| From: | betz@php.net | Date: | Sun, 19 Feb 2006 10:58:02 +0000 |
| Subject: | note 62044 rejected from function.pg-fetch-result by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-104018@lists.php.net to get a copy of this message | ||
Note Submitter: php at bucksvsbytes dot com
----
It appears the statement, "If omitted, next row is fetched." is either inaccurate or
misinterpreted. When the two argument version of the function is called repeatedly:
<?php
echo pg_fetch_result(result,'id');
echo pg_fetch_result(result,'id');
echo pg_fetch_result(result,'id');
?>
the id of the first result row is retrieved every time.