Hi guys,
Used this forum a bit today to find answers for a bit of scripting that I'm attempting.
It's been 5-6 years since I last did anything like this, so bear with me.
My question is; why does this generate results from Dec 12 2011 and not from Dec 13 2011?
$date = "12/13/2011 00:01";
$form_init_date=strtotime($date);
$date2 = "12/13/2011 23:59";
$form_end_date=strtotime($date2);
$order = mysql_query("SELECT * FROM orders WHERE WORK='COMPLETED' AND fixed_date BETWEEN $form_init_date AND $form_end_date ")
or die(mysql_error());