PHP/MySQL date range search
Hi, all...
I'm building a joblog.
I want to search a range of dates (...WHERE timestamp >= $date1 AND timestamp <= $date2...).
I built my own query, and it worked using strtotime, etc..
$searchFrom = strtotime($_POST['searchFrom']);
$searchFrom = date("Y-m-d 00:00:00",$searchFrom);
$searchTo = strtotime($_POST['searchTo']);
$searchTo = date("Y-m-d 24:59:59",$searchTo);
However, I wanted to use DW's Master Detail Page.
(Trying to save time, not going so well...)
When I setup my query and all vars, It wigs out on the dates everytime.
Is there something in the recordset that is stripping away the formatting I put into my vars?
