Results 1 to 2 of 2
Aug 9, 2007, 07:29 #1
Keeping a displayed timer updated realtime
I'm sort of making a game from the ground up to learn my way around ajax and its interaction with php and myself. basically, I want to have a master timer on the server (independent of server time) and have certain things happen for the user depending on what time it is. I want to display the master time on a page and have it update realtime by the second but I can not figure out how to do this.
To start off with something basic, how would I go about keeping a realtime updating timer that's being run on the server to display on a page and update per second? What's the best way of keeping a sort of master counter stored on a server? I'm using PHP and MYSQL.
Aug 9, 2007, 09:32 #2
- Join Date
- Oct 2004
- Birtley, UK
- 0 Post(s)
- 0 Thread(s)
paste this into a php file and upload it to your server.