Hi, im working on a game and currently im coding a jail.
When you get arrested it captures the current time in HourMinuteSecond format so if the time was 06:13:23 when arrested it would store it in a sql database as 061323, and it would also take that and add a the jail time to it. So lets say you get arrested for 15 minutes it takes the variable wich 061323 is in and adds 60*15 to get 15 minutes and then it stores that too in the sql database.
So now i have 2 values, the time of arrest and the time of release this means i can get the release function to work but i want to have a countdown timer so the userse can see the time left.
I want so every time you refresh the page the new timeleft appears, i have no idea how to calculate the timeleft so therefor im asking here.
EDIT: FIXED, IF U HAVE THE SAME PROBLEM LOOK AT POST #5!!


Reply With Quote![[HELP][PHP/MySQL]Math Problem , please help asap.](http://ragezone.com/hyper728.png)


