I have an array which is inserted into an HTML Table
The problem is I want to sort it according to the value of counter. I tried an example which looks like this but it won't work.
foreach($analysis_data as $nr => $inhalt){
$country[$nr] = strtolower($inhalt['country']);
$counter[$nr] = strtolower($inhalt['counter']);
}
array_multisort($counter, SORT_ASC, $analysis_data);,
Does anybody know how to sort this multi dimensional array?