array_multisort
| From: | Richard Baskett | Date: | Wed, 26 Sep 2001 10:43:41 +0000 |
| Subject: | array_multisort | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68835@lists.php.net to get a copy of this message | ||
Ok i've gone through the archives.. and you know.. I don't think anybody
really understands this function. I hope I am wrong, but here goes.
I have an array called let's say.. $results
first dimension are just numbers
and the second has associative names [name],[title],[descript],[keycount] so
basically
$result[0][name]
$result[0][title]
$result[0][descript]
$result[0][keycount]
The first dimension goes up to hmm.. in the three digits and each has the
four other "categories", I want to sort $result by [keycount] which are all
numbers.
How the umm.. heck do you use that funky array_multisort function?
Rick