MySQL Delete Records Older Than X Minutes?
- by sajanNOPPIX
I've searched quite a bit and found a few solutions that didn't end up working for me and can't understand why.
I have a table with a timestamp column. The MySQL type for this column is 'datetime'. I insert into this table the following from PHP.
date('Y-m-d H:i:s')
This enters, what looks like the correct value for the MySQL date time.
…