I had to do something like this not to long ago. Luckily it hit me that I shouldn't be changing keys, you don't do it in a database, so you really shouldn't do it in an array.
I ended up adding a "column" to my array that contained the name. Then I didn't need to change keys and it worked just as well, and easier.

On Tuesday, January 21, 2003, at 08:47 AM, David T-G wrote:

I want to change the key 't' to, say, 'tmp', is there a way to change
it or do I have to use the brute force
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to