if(!empty($keywords) && !empty($type)){
$where=$type." like '%".$keywords."%'";
}else{
}
dump($where);
$list=$user->where($where)->select();
$this->assign('ulist',$list);
$this->display();
thinkphp怎么让一个变量也可以进行模糊查询数据库的数据
最新推荐文章于 2023-05-15 10:19:29 发布