mysql expire after?
mysql expire after?
Out of context: Reply #3
- Started
- Last post
- 6 Responses
- acescence0
1. get the curr date and set a var that is curr date minus your desired "age"
2. DELETE from table WHERE DATE < your "age"
1. get the curr date and set a var that is curr date minus your desired "age"
2. DELETE from table WHERE DATE < your "age"