I want to make a table where the entries expire 24 hours after they have been inserted in PHP and MySQL.
Ideally I want to run a \"deleting process\" every time a us
DELETE FROM table WHERE added < FROM_UNIXTIME(UNIX_TIMESTAMP()-24*60*60)EXPLAIN (MySQL Manual) and optimize your SELECT queries using indexes (MySQL Manual)