$aa = array(
array('id' => 123, 'name' =>'张三'),
array('id' => 123, 'name' =>'李四'),
array('id' => 124, 'name' =>'王五'),
array('id' => 123, 'name' =>'李四'),
array('id' => 126, 'name' =>'赵六')
);
$bb=array_unique_fb($aa);
print_r($bb)
?>
显示结果:Array ( [0] => Array ( [0] =>123 [1] => 张三 ) [1] => Array ( [0]=> 123 [1] => 李四 ) [2]=> Array ( [0] => 124 [1]=> 王五 ) [4] => Array ( [0]=> 126 [1] => 赵六 ))
您可能感兴趣的文章: