PHP 4.0 Bug #8374 Updated: Oracle 8 -> OCIFetchInto()

From: Date: Sat, 23 Dec 2000 21:44:12 +0000
Subject: PHP 4.0 Bug #8374 Updated: Oracle 8 -> OCIFetchInto()
Groups: php.dev 
Request: Send a blank email to php-dev+get-42186@lists.php.net to get a copy of this message
ID: 8374 Updated by: thies Reported By: russlndr@online.no Old-Status: Open Status: Closed Bug Type: OCI8 related Assigned To: Comments: oracle does return all column names in uppercase, the driver does no magic to it - soory, that's the way it is. Previous Comments: --------------------------------------------------------------------------- [2000-12-22 06:10:13] russlndr@online.no The function OCIFetchInto() alters all fetched rows into an array. Let's say I've a query like this: "SELECT name FROM user". When this query is processed by OCIFetchInto() the array will look like this: array('NAME' => 'value'). The row name is changed into uppercase. Shouldn't it be lowercase as in the query? In mysql_fetch_array() this works. I've been using mysql for a long time now. I have been accessing all arrays with lowercase. But now I have started on a new project where we are going to use Oracle. And now I have to go trought my scripts, and change all array keys into uppercase. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8374

« previous php.dev (#42186) next »