🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
``` <?php /*二维数组去掉重复值*/ $cc=array( '0' => array ( 'wx_nickname' => '江淮智库', 'wx_name' => 'anhui-sky', 'url_times' => '0' ), '1' => array ( 'wx_nickname' => '安徽发布', 'wx_name' => 'anhuifabu', 'url_times' => '0' ), '2' => array ( 'wx_nickname' => '安徽发布', 'wx_name' => 'anhuifabu', 'url_times' => '0' ) ); $ee=[]; foreach ($cc as $k => $v) { if (!in_array($v['wx_nickname'],$ee)) { $ff[]=$v; $ee[]=$v['wx_nickname']; } } var_dump($ff); ?> ```