如何将下列语句转换为thinkphp形式,不用原生query()
$sql="select*fromtp_dc_cartwhereLEFT(buytime,10)<='$end'andLEFT(buytime,10)>='$start'...
$sql = "select * from tp_dc_cart where LEFT(buytime,10) <= '$end' and LEFT(buytime,10) >= '$start' and bid = '$bid' and status in (2,6)
展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询