//数组顺序排列大小
function ArrMax($data,$arrkey){
$tree = array();
foreach($data as $key=>$val)
{
$pro[]=$val[$arrkey];
}
array_multisort($pro,SORT_DESC);
for($j=0;$j
if($pro[$j]==$data[$i][$arrkey]){
$tree[$j] = $data[$i];
}
}
}
$tree를 반환합니다.
}