pastorandy
IS-IT--Management
Hi
I am trying to compare two different DATE fields from a mysql DB. The two fields are DATE and not DATETIME.
Here's my query
But I am not getting the expected results. If I output the two DATE variables they are the same but i'm not sure my comparison is correct.
I am trying to compare two different DATE fields from a mysql DB. The two fields are DATE and not DATETIME.
Here's my query
Code:
$query6 = "SELECT * from holiday WHERE installer_id = 1 AND holiday_date = $row4[job_date]";
But I am not getting the expected results. If I output the two DATE variables they are the same but i'm not sure my comparison is correct.