[ACCEPTED]-PHP: date between date-between
its very simple using
between in where clause
, read more
select * from mytable where date between '10-11-2010' and '17-11-2010'
Sounds like a SQL question. Try the between condition.
$sql 2 = 'select * from mytable where depositdate 1 between $datefrom and $dateto';
More Related questions