Using php i want to make the following mysql query
SELECT * FROM TABLE WHERE AUTODATE > (24HRS DIFFERENCE FROM CURRENT DATE)
the AUTODATE var CURRENT_TIMESTAMP
has values in format Y-m-d H:i:s
How is that possible?
Using php i want to make the following mysql query
SELECT * FROM TABLE WHERE AUTODATE > (24HRS DIFFERENCE FROM CURRENT DATE)
the AUTODATE var CURRENT_TIMESTAMP
has values in format Y-m-d H:i:s
How is that possible?
You might want
SELECT ... WHERE yourDateField > Curdate() - Interval 1 dayor maybe
SELECT ... WHERE yourDateField > Now() - Interval 24 hour