Change 'key' names of an associative array.
| From: | Altunergil, Oktay | Date: | Tue, 15 May 2001 20:15:15 +0000 |
| Subject: | Change 'key' names of an associative array. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52923@lists.php.net to get a copy of this message | ||
I have been trying to convert a MySQL application to Oracle. Oracle needs
the field names to be upper case.
For this reason even if I can fetch the result row, I can't access it by
$row[name] because I have to do
$row[NAME].
Is there a way to change the the key name to upper case, without making a
copy.? (I mean without creating another array key with the same name in
upper case)
Thanks.
Oktay Altunergil