note 2112 modified in function.ocifetchstatement by sixd
| From: | sixd@php.net | Date: | Thu, 08 Oct 2009 19:17:45 +0000 |
| Subject: | note 2112 modified in function.ocifetchstatement by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161532@lists.php.net to get a copy of this message | ||
Watch out for select statements which have columns with the same name (e.g. select a.name, b.name
from ...) because the later results will wipe out the previous $data["name"] values. One
way to get around this is to use aliases (e.g. select a.name as a_name, b.name as b_name ...)
--was--
Watch out for select statements which have columns with the same name (e.g. select a.name, b.name
from ...) because the later results will wipe out the previous $data["name"] values. One
way to get around this is to use aliases (e.g. select a.name as a_name, b.name as b_name ...)
http://php.net/manual/en/function.ocifetchstatement.php