note 52837 added to function.pg-fetch-all
| From: | tzongattzongdotspbdotru at osu1 dot php dot net | Date: | Sat, 14 May 2005 09:02:01 +0000 |
| Subject: | note 52837 added to function.pg-fetch-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89407@lists.php.net to get a copy of this message | ||
It is important that pg_fetch_all returns ASSOCIATIVE array, not indexed one. This means that if you
have a JOIN in your query on tables with identical field names, their values will intermix, and you
will not get what you expected.
The same applies to pg_fetch_assoc.
----
Manual Page -- http://www.php.net/manual/en/function.pg-fetch-all.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52837
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52837&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52837&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52837&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52837&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52837&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52837&report=yes
Search -- http://master.php.net/manage/user-notes.php