I’ve looked through past questions – but couldn’t find a good match. How do I return all MySQL rows where the column timestamp is on day X, where day X is contained in a PHP variable the following format: “13 Apr 2011”, and the timestamp is in database is in the following format: “2011-02-25 22:00:17”?
SELECT * WHERE timestamp (need to add here)
Thanks!
(It’s the opposite of andri’s suggestion, it converts the timestamp into a string for comparision)