note 86335 added to function.pg-fetch-assoc
| From: | Anonymous at osu1 dot php dot net | Date: | Mon, 13 Oct 2008 23:03:30 +0000 |
| Subject: | note 86335 added to function.pg-fetch-assoc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145327@lists.php.net to get a copy of this message | ||
regarding the optional int parameter
requesting a row number that is not present in the result set is an error. don't do it.
check with pg_num_rows() beforehand, or just use the default behavior which returns the rows in
order and false after returning the last row it returns false immediately if no rows were returned.
----
Server IP: 203.89.181.186
Probable Submitter: 210.48.82.11
----
Manual Page -- http://www.php.net/manual/en/function.pg-fetch-assoc.php
Edit -- https://master.php.net/note/edit/86335
Del: integrated -- https://master.php.net/note/delete/86335/integrated
Del: useless -- https://master.php.net/note/delete/86335/useless
Del: bad code -- https://master.php.net/note/delete/86335/bad+code
Del: spam -- https://master.php.net/note/delete/86335/spam
Del: non-english -- https://master.php.net/note/delete/86335/non-english
Del: in docs -- https://master.php.net/note/delete/86335/in+docs
Del: other reasons-- https://master.php.net/note/delete/86335
Reject -- https://master.php.net/note/reject/86335
Search -- https://master.php.net/manage/user-notes.php