RE: [PHP] Change 'key' names of an associative array.
| From: | Jack Dempsey | Date: | Tue, 15 May 2001 20:22:12 +0000 |
| Subject: | RE: [PHP] Change 'key' names of an associative array. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52925@lists.php.net to get a copy of this message | ||
have you tried http://www.php.net/manual/en/function.strtoupper.php
-jack
-----Original Message-----
From: Altunergil, Oktay [mailto:oktay@ForSoftInc.com]
Sent: Tuesday, May 15, 2001 4:15 PM
To: php-general@lists.php.net
Subject: [PHP] Change 'key' names of an associative array.
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net