NYCPHP Meetup

NYPHP.org

[nycphp-talk] sorting multi-dimesional arrays ...

Hans Zaunere hans at nyphp.org
Wed Jul 23 19:10:09 EDT 2003



Jon Baer wrote:
> the functon array_count_values was actually what i was looking for, but in
> the test below the key values are not retained ... im still trying to figure
> it out ...

I'm blindly jumping into a thread here, but perhaps http://us4.php.net/manual/en/function.arsort.php  ?

Otherwise, play with array_multisort(); specifying the various array levels as arguments.

H




More information about the talk mailing list