I am new to PHP. I have a PHP array that is two dimensional. The "inner" array has a value that I want to sort on.
For example:
$myarray[1]['mycount']=12
$myarray[2]['mycount']=13
$myarray[3]['mycount']=9
I want to sort the "inner" array in descending order.
So the results for the following will be 13, 12, 9
foreach ($myarray as $myarr){
print $myarr['mycount']
}
thanks in advance.