Thanks for at least looking at this question.
I run a small website which allows people to sign up for a premium account. I control this via a group in an SQL database. So if group_id is 5 is premium. Currently I update this all manually but I’d like to have a php script that connects to SQL where a date is stored for when the account expires which’ll just change the group_id back to 4.
If anyone can help I’d really appreciate it, or if you need any more information please ask :).
This is the kind of thing a cron job is perfect for. Write a php script that does the changing of the
group_idbased on the date, and set up a cron job to run the script at regular intervals.