I have a 2 dimensional array...with the second dimension having 12 elements. What I want to do is sort (and re-sort) they array by one of the 12 elements...keeping data consistent.
All of the examples I have read @php.net seem to deal with multidim-arrays that only have one element in them. Here is a cut-n-paste of a print_r() of my array: ---------begin paste-------------------------------------- Array ( [barnhij] => Array ( [name] => Jeremy Barnhill [toi] => 5855 [pdk] => 1456 [tpdk_trans] => 40169 [tpallm_trans] => 17430 [terrors] => 174 [total_trans] => 57599 [pct] => 97.03 [modpct] => 98.3630 [pdk_pct] => 69.74 [pallm_pct] => 30.26 [trans_per_req] => 9.84 ) [clarkm10] => Array ( [name] => Michelle Clark [toi] => 1971 [pdk] => 402 [tpdk_trans] => 15427 [tpallm_trans] => 9970 [terrors] => 97 [total_trans] => 25397 [pct] => 95.08 [modpct] => 97.3484 [pdk_pct] => 60.74 [pallm_pct] => 39.26 [trans_per_req] => 12.89 ) [humphrj5] => Array ( [name] => Jill Humphries [toi] => 6104 [pdk] => 1002 [tpdk_trans] => 42759 [tpallm_trans] => 28907 [terrors] => 125 [total_trans] => 71666 [pct] => 97.95 [modpct] => 98.8889 [pdk_pct] => 59.66 [pallm_pct] => 40.34 [trans_per_req] => 11.74 ) [roberj15] => Array ( [name] => Jamison Roberts [toi] => 7132 [pdk] => 1524 [tpdk_trans] => 52542 [tpallm_trans] => 42311 [terrors] => 46 [total_trans] => 94853 [pct] => 99.36 [modpct] => 99.6533 [pdk_pct] => 55.39 [pallm_pct] => 44.61 [trans_per_req] => 13.30 ) ) -----------------------end paste--------------------------------- Hope this is clear, Thanks - Jamison. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]