note 78191 added to function.pg-fetch-assoc

From: Date: Tue, 02 Oct 2007 16:57:58 +0000
Subject: note 78191 added to function.pg-fetch-assoc
Groups: php.notes 
Request: Send a blank email to php-notes+get-130987@lists.php.net to get a copy of this message
Is worth to know that when you query on multiple tables only the first row with each name is returned. That is, if you are joining to tables with a column called 'name' you will receive only one field called name in the array and it will correspond to the one on the first table. Is advisable to allways allias your columns in that stuation. ---- Server IP: 80.64.47.13 Probable Submitter: 62.57.228.21 ---- Manual Page -- http://www.php.net/manual/en/function.pg-fetch-assoc.php Edit -- https://master.php.net/note/edit/78191 Del: integrated -- https://master.php.net/note/delete/78191/integrated Del: useless -- https://master.php.net/note/delete/78191/useless Del: bad code -- https://master.php.net/note/delete/78191/bad+code Del: spam -- https://master.php.net/note/delete/78191/spam Del: non-english -- https://master.php.net/note/delete/78191/non-english Del: in docs -- https://master.php.net/note/delete/78191/in+docs Del: other reasons-- https://master.php.net/note/delete/78191 Reject -- https://master.php.net/note/reject/78191 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130987) next »