Any help is highly appreciated.
Say I have a MySQL database with a timestamp column with the value "1305590400", how can I compare that with a PHP variable of say "2011-05-17"? I want to completely ignore the time part and only compare the date.
At the moment I am trying to get it working with the following but it returns no results:
WHERE FROM_UNIXTIME('timestamp_column','%Y-%m-%d') = '" . $date. "'