登录/注册

ThinkPHP

位置导航: ThinkPHP>

tp5多条件模糊查询

$where['pid']=array("like","%$pid%",);
      	$where['title']=array("like","%$title%",);
     	$where['model']=array("like","%$model%");
    	
    	$list = db('article')->where($where)->order('id desc')->paginate(10);


上一篇:tp5分页

下一篇:tp5接收数组传参