thinkphp+mysql问题
$users=D('Users')->join('user_supportonuser_support.user_id=users.id')->where('rolein...
$users = D('Users')
->join('user_support on user_support.user_id = users.id')
->where('role in (3,4)')
->order("sum(user_support.total) asc")
->limit(($page-1)*24,$page*24)
->select();
请问这个地方错了,错在哪儿了? 展开
->join('user_support on user_support.user_id = users.id')
->where('role in (3,4)')
->order("sum(user_support.total) asc")
->limit(($page-1)*24,$page*24)
->select();
请问这个地方错了,错在哪儿了? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询