04.09.2016, 00:09
I suggest creating 7 fields in the database, save the time they played each day in each field. Select the fields, adding them up in one SQL statement, to get the time they played in their last 7 days.
Update the 1st field (which would be the last 7th day) to get the time played in their last 7 days everytime.
Update the 1st field (which would be the last 7th day) to get the time played in their last 7 days everytime.