2016-06-30 12 views

Antwort

0
$max = -9999999; //will hold max val 
$found_item = null; //will hold item with max val; 
foreach($arr as $k=>$v) 
{ 
    if($v['Total']>$max) 
    { 
     $max = $v['Total']; 
     $found_item = $v; 
    } 
} 
echo "max value is $max"; 
print_r($found_item); 

Working demo