note 62044 added to function.pg-fetch-result
| From: | php at bucksvsbytes dot com | Date: | Sat, 18 Feb 2006 00:37:00 +0000 |
| Subject: | note 62044 added to function.pg-fetch-result | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-103954@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 64.246.30.37
Probable Submitter: 69.86.104.125
----
Manual Page -- http://www.php.net/manual/en/function.pg-fetch-result.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+62044
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62044&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62044&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62044&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62044&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62044&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62044&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62044&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+62044&report=yes
Search -- http://master.php.net/manage/user-notes.php