php - How do I automatically Delete Rows from MySQL Database on specific date? -
i know there has way automatically delete row in mysql table on specified date. brain dead today : /
let's have cms input posts , want 1 of fields in table "delete_date" , if put date in field delete row on date specified. if not enter date not auto delete.
what best way using php/mysql. tips or examples help.
a basic query:
delete * cms_table delete_date='$the_date_to_delete'
Comments
Post a Comment