Results 1 to 2 of 2
  1. #1
    iannjiua is offline 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?

  2. #2
    vServerCenter is offline Newbie
    Join Date
    Nov 2011
    Posts
    18
    The PHP manual has information on array_multisort:
    php.net/manual/en/function.array-multisort.php

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •