I’m developing a web application/game using PHP and mySQL. I need to give the users/players an amount of points on a certain interval of time.
What is the best method to do this? (my ideea is when the log in i verify hist last_login and add the number of points that he would have gained in that period)
What other way is to this? (maybe timed triggers…)
I’m developing a web application/game using PHP and mySQL. I need to give the
Share
I would write a php script that adds points to the appropriate column in the database, and call the script using a cron job at fixed time intervals.