Let’s say I have two column. DATE and STATUS.
When a new row comes in, STATUS has a default that gets set. Status has four values:
Not Answered,
Just Asked (Default),
Answered,
Closed
Let’s say after 2 days, I would like it to automatically change to Not Answered, can I use mysql to do this? Or do I have to use some scripting language like PHP and run it daily?
This should be best accomplished with a cron script that you run every night.
You might need to check the date format 1st though.