-
Delete expired entries in MYSQL
For those who want to delete items in a MySQL database based on a date field the process is very easy. First of all you need a DATE field, for example a coupon expiration date. the data is saved in the following format: YYYY-MM-DD Then all you need to delete older items is this: DELETE…