Hi,
Basically i'm having a column, "Income" in my database with value= 300,100,10,90 at this hour.
It means the specified user has 300 cash now and additional 100 in an hour's time, additional 10 in two hours' time and additional 90 in three hours' time.
How can i make it increment to next hours(s) value as follows (not via crontab, i'm testing through a button at the moment);
Next hour value; 400,10,90,0
2 hours later; 410,90,0,0
3 hours later; 500,0,0,0
I'm thinking to extract the data and input to an array before any manipulations(but i have no idea what function can i use🙁 ). Is there any suggestions?
Any help is appreciated. Thanks.