I've seen similar questions, I simply do not understand the answers. Hopefully if I ask specifically about my code something will click. I've been stuck for some time and would really appreciate the help.
I have an array: foreach ($showresult as $display) { $display_result[] = array ('parkid' =>$display['parkid'],
'trailsys' =>$display['trailsys'],
'trailset' =>$display['trailset'],
'name' =>$display['name'],
'description' =>$display['description'],
'url' =>$display['url'],
'ldes' =>$display['ldes'],
'ltxt' =>$display['ltxt'],
'address' =>$display['address'],
'city' =>$display['city'],
'zip' =>$display['zip'],
'phone' =>$display['phone'],
'pos' =>$display['pos'],
'T1' => $display['systemname'],
'T2'=> $display['name']);
{ 'state' =>$display['state'],
Every item in the array has a value in T1. T2 can have a value, or it can be 0. I want to alphabetize the list by T1. In some cases, there will be three or four entries where T1 is the same, then I want to alphabetize those by T2. I'm stumped.
Please help.