Re: Sorting multiple dimensional arrays
| From: | Papp Gyozo | Date: | Tue, 16 Oct 2001 23:10:27 +0000 |
| Subject: | Re: Sorting multiple dimensional arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71271@lists.php.net to get a copy of this message | ||
and what about usort() or uasort()?
write your custom comparison function:
----- Original Message -----
From: "Boget, Chris" <Chris.Boget@wild.net>
To: "Php-General" <php-general@lists.php.net>
Sent: Monday, October 15, 2001 10:48 PM
Subject: [PHP] Sorting multiple dimensional arrays
> I've got a 4 (yes, 4) dimensional array. However, I only
> want to sort on the third dimension only.
> I've tried ksort() and array_multisort() but neither seem
> to work. Tried a few of the other functions but they don't
> seem to work, either.
> Any suggestions? Hints?
>
> Chris
>