Hey folks,
I'm curious about how to perform following task:
I need to update a MySQL database every day in terms of deleting expired entries.Therefore, I have to fields in the db named 'date' and 'expired' (which is the actual date ... How do I get that again?).
So, I want to run a script that compares both fields and deletes respective entries where both fields match.
I want to do this at the end of the day and the auto_increment field should be updated for the whole db.
If anyone could drop me some hints would be appreciated.
Thanks
uranuskid