NYCPHP Meetup

NYPHP.org

multi dimension array sort?

Nestor Florez nestorflorez at earthlink.net
Mon Jun 9 22:47:46 EDT 2003


PHP'ers,

I have an array multi associative array

row[#]['empname'][dept']['ssn']['location']

I want display them in a list and I want theuser to click on the column name and I will sort it according to the column and then display the array.

I have tried using uasort, asort, array_multisort and I am not able to make it work.  Can anyone give me a hand on how to do than multi associative array sort.

thanks,

Nestor :-)




More information about the talk mailing list