On 05 February 2004 04:33, Justin French wrote: > Hi, > > I've read and re-read array_multisort(), but still can't get a grip on > how to sort my array: > > Array > ( > [0] => Array > ( > [path_id] => 3 > [year] => 2004 > [month] => 02 > [day] => 05 > [hits] => 3 > [path] => home > )
... etc. I'm pretty sure this is one where multisort() is not the best approach, and usort() (or one of its friends) is where to look. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php