PHP and Javascript Timer
Posted: Tue Mar 09, 2010 10:34 am
Good sirs, I am requesting for help about this project that I am making: a timer. This timer will be lodged into a server computer and users will login with their names and choose from available computer terminals in a room.
I have set up the forms and database in PHP/mySQL for the name and terminal listing, but I have not yet put the timer in. I would like to ask if it's possible to have a timer in JScript, where upon clicking a Login button will start timing a user who wants to login, and have the beginning time (upon clicking Login button) and ending time (Logout button) be saved onto the database I have set in mySQL.
An aid in haste is much appreciated.
I have set up the forms and database in PHP/mySQL for the name and terminal listing, but I have not yet put the timer in. I would like to ask if it's possible to have a timer in JScript, where upon clicking a Login button will start timing a user who wants to login, and have the beginning time (upon clicking Login button) and ending time (Logout button) be saved onto the database I have set in mySQL.
An aid in haste is much appreciated.