Let's say I've got an array like so:

$myarray[0]["firstname"] = "Mickey";
$myarray[0]["lastname"] = "Mouse";
$myarray[0]["score"] = 20;

$myarray[1]["firstname"] = "Donald";
$myarray[1]["lastname"] = "Duck";
$myarray[1]["score"] = 10;

I'd like be able to sort the array using different dimensions before I
cycle through a while loop to print out the results.  For instance, by
lastname, or by score.  I can't seem to get array_multisort() to do it. 
Any ideas?



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

Reply via email to