疑难片段tp3.2多表联查table方法 $Model = new \Think\Model(); $list = $Model->table('shopping_coupon AS c,shopping_user_coupon AS uc')->where('c.id = uc.coupon_id')->select(); 更多方法参考:http://www.thinkphp.cn作者王明昌发布时间2018-01-25文章目录table方法table方法复制 $Model = new \Think\Model(); $list = $Model->table('shopping_coupon AS c,shopping_user_coupon AS uc')->where('c.id = uc.coupon_id')->select(); 更多方法参考:http://www.thinkphp.cn/topic/44761.html
2018-05-29执行ajax成功后进行页面的刷新location.reload(true); window.location.reload(); $("#train").on("click",function(){ var id = $("#id_
2018-01-24thinkphp3.2单条数据查询(find)$ms->where("id='$id'")->find(); $id = I('get.id',0,'int'); $ms = M('user'); $res = $ms->where("id='$