i am calculating the users break time...
when the user logged in the break time will be assigned to him... say 60 mins..
the user take several breaks... for example in first break he used 20 mins and second break 30 mins and so on..
i calculate the remaining break time from every break the uyer takes. the problem is when user logged in next time the break time is not reseting to 60 mins... the break time variable holds the last value.. it not reseting to 60 mins...
when the user logout, it automatically set the break time to 60 mins... how to do it?
so next time the user logged in it must show the break time is 60 mins...
how to do it? plz help.
when the user logged in the break time will be assigned to him... say 60 mins..
the user take several breaks... for example in first break he used 20 mins and second break 30 mins and so on..
i calculate the remaining break time from every break the uyer takes. the problem is when user logged in next time the break time is not reseting to 60 mins... the break time variable holds the last value.. it not reseting to 60 mins...
when the user logout, it automatically set the break time to 60 mins... how to do it?
so next time the user logged in it must show the break time is 60 mins...
how to do it? plz help.
Comment