thinkphp 搜索查询
$m=M('content');$where['content']=array('like','%$_POST['content']%');$where['title']...
$m=M('content');
$where['content'] = array('like','%$_POST['content']%');
$where['title'] = array('like','%$_POST['title']%');
$res=$m->where($where)->select();
哪里有错误? 展开
$where['content'] = array('like','%$_POST['content']%');
$where['title'] = array('like','%$_POST['title']%');
$res=$m->where($where)->select();
哪里有错误? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询