Results 1 to 2 of 2
Thread: multidimensional array issue
- 12-19-2011, 01:50 AM #1
Newbie
- Join Date
- Dec 2011
- Posts
- 19
multidimensional array issue
If you pass a multidimensional array to array_multisort() then it sorts the array by looking at the first element of each nested array. If 2 such elements have the same value then it sorts by the second element, and so on.However, can you show me how this works?
- 12-19-2011, 05:02 PM #2
Newbie
- Join Date
- Nov 2011
- Posts
- 18
The PHP manual has information on array_multisort:
php.net/manual/en/function.array-multisort.php



LinkBack URL
About LinkBacks




Reply With Quote






Bookmarks