Hi Guys,
I am having trouble sorting this array
$arr [1]["1.01"]["R11101"]["is_high_level"] = 0;
$arr [1]["0.00"]["R11100"]["is_high_level"] = 0;
$arr [1]["1.02"]["R11102"]["is_high_level"] = 1;
$arr [1]["1.03"]["R11103"]["is_high_level"] = 0;
$arr [2]["2.01"]["R21101"]["is_high_level"] = 1;
$arr [2]["2.02"]["R21102"]["is_high_level"] = 0;
I need to sort by the $arr[3] element first (is high level), then by the $arr[1] element. Am I going about building the array incorrectly, ie: should I be using an array_push to generate it? I need to get the results from the DB then using another query, update element in the array before I put it out on screen.
Thanks for any info!