PHP开发实例大全(提高卷) 中文完整pdf扫描版[244MB]
select * from table_name where time>='2010-1-1' and time<='2010-5-1'
或
select * from table_name where time between '2010-1-1' and '2010-5-1'
thinkphp中可用语句
$condition['id'] = array(between,array('1','8'));
查询 where('id' between '1' AND '8')
转载请注明:谷谷点程序 » thinkphp between 查询