摘要: $config = [ 1 => ['title'=> '推荐','code'=>1], 2 => ['title'=> '搞笑','code'=>1], 3 => ['title'=> '奇闻','code'=>2],];数组如上现在要取出数组里面code为1的内容,结果要下面这样的[1=>'推荐 阅读全文
posted @ 2018-09-20 15:30 Jenkin一H 阅读(5165) 评论(0) 推荐(1) 编辑