Re: Multi-Sort -- how to do this?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 18, 2009 at 05:11, Ford, Mike<M.Ford@xxxxxxxxxxxxxx> wrote:
>
> array_multisort($d, $a, $b, $c) should do what you want,

    That'll actually hit it right on the head, too, Mike.  My example
from last night sorted and combined the arrays to be keyed and
sortable by $d --- which, re-reading this morning, is not what Tedd
wanted.  He wants to be able to run a loop and echo out each
individual array in place.  In which case, array_multisort() is
proper.  Show-off.

-- 
</Daniel P. Brown>
daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW10000

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux