Hi I have two textboxes for date from
and to
. When I select dates in both textboxes, representing a time interval, I'd like to fill in missing dates, so I could query some records our in table along with date suppose i have
2014-08-02
2014-08-08
2014-08-10
2014-08-11
2014-08-07
2014-08-12
or may be another date please help me
<?php
$from='2014-08-11';
$to='2014-09-10';
$query="SELECT * FROM stats WHERE Feeddate BETWEEN '2014-08-11' AND '2014-09-10'";
?>