//陣列順序排列大小
function ArrMax($data,$arrkey){
$tree = array();
foreach ($data 或 $key=>$val)
{
foreach ($data as $key=>$val)
{
$pro[]=$val$pro[ $arrkey];
}
array_multisort($pro,SORT_DESC);
for($j=0;$j
if($pro[$j]==$data[$i][$arrkey]){
$tree[$j] = $data[$i];
}
}
}
}