I have a website that uses PHP and MySQL, and what I'm trying to do is make it so that at midnight (even if no one accesses the page), either PHP or MySQL updates the database with new numbers, etc. For example, say a person only has a certain amount of posts a day. At midnight, I would like their amount of posts for the day reduced to zero, so they can post again.
This may be a newbie question, but since it dealt with databases I thought it might belong here. 😕
If anyone can help me here with a way to do that, I would greatly appreciate it. Thanks.