PHP7中文手册2018 带注释 最新chm版
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 查询