所属标签 tags:悬疑,经典
查询包含这俩个标签内容的办法
$tags =array("悬疑","经典"); $arr_tags =array(); foreach($tags as $k=>$v){ $arr_tags[$k] ="%".$v."%"; } $where['tags'] =array('like',$arr_tags,'or');
标签:arr,tags,标签,查询,Thinkphp,array From: https://www.cnblogs.com/caopeng/p/17114056.html