RE: [PHP] Sorting a multi-dimensional array

2002-08-21 Thread Michael Egan
Ben, I don't know whether this is the most efficient way of doing things but when I've tried in the past to sort multidimensional arrays according to a number of values I've ended up giving up on the PHP functions and creating a temporary table in MySQL. You can then retrieve the

RE: [PHP] Sorting a multi-dimensional array

2002-08-20 Thread Martin Towell
http://www.php.net/manual/en/function.usort.php -Original Message- From: Ben [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 11:25 AM To: [EMAIL PROTECTED] Subject: [PHP] Sorting a multi-dimensional array I have looked at array_multisort, asort, etc. NONE of them do what I