Re: Changing order of just one array item?
| From: | -<[ Rene Brehmer ]>- | Date: | Sun, 19 Jan 2003 18:21:03 +0000 |
| Subject: | Re: Changing order of just one array item? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132184@lists.php.net to get a copy of this message | ||
Hi Leif K-Brooks,
The key is but an alias to the value, so other than rewriting the array I
cannot see how to split the two apart.
I don't believe there's any simple way to reorder the key/value order of
an array .... dunno, I'm not used at using key'ed arrays ... PHP is the
only language (I know) that's got it, and since I program in a couple
other languages that don't have it, I'd just get confused by starting to
use them.
Rene
On Sun, 19 Jan 2003 10:28:58 -0500, you wrote about "Re: [PHP] Changing
order of just one array item?" something that looked like this:
>Thanks, but that's not what I'm trying to do. I know how to change the
>keys, but I'm looking to change the internal order of the key/value pairs.
--
Rene Brehmer
This message was written on 100% recycled spam.
Come see! My brand new site is now online!
http://www.metalbunny.net