note 54182 modified in function.ocifetchstatement by sixd
| From: | sixd@php.net | Date: | Thu, 08 Oct 2009 19:19:52 +0000 |
| Subject: | note 54182 modified in function.ocifetchstatement by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161539@lists.php.net to get a copy of this message | ||
Not all column names are converted to upper case array keys. If you use double quotes around column
aliases these retain their original case when converted to array keys.
Eg Select count(*) "record count" from table
will return an array with key 'record count' not 'RECORD COUNT'
--was--
Not all column names are converted to upper case array keys. If you use double quotes around column
aliases these retain their original case when converted to array keys.
Eg Select count(*) "record count" from table
will return an array with key 'record count' not 'RECORD COUNT'
http://php.net/manual/en/function.ocifetchstatement.php