标签:
foreach($recomend_total as $k=>$v){ $flag[] = $v[‘applyitem_id‘]; }
array_multisort($flag,SORT_ASC,$recomend_total);
遍历$recomend_total数组.取出需要排序的字段,
一维数组,根据指定id排序
原文地址:http://www.cnblogs.com/bj-tony/p/5549146.html