Quote Originally Posted by Bikash View Post
Hey Traq,
I Tried and tried and kept on failing probably i was heading on a wrong direction,it can be done through AJAX, so can you help me get this done??
1)Check if the time stored in database is equal to system time or not, if yes,then it will create an alert,if not then it wont do anything.
2)But the catch is here, it will have to check the script continuously as to without disturbing the page state.
There's a good introductory AJAX tutorial on MDN. To handle the ajax request, you're going to have to create a script (or change the current script, to determine if the request is via AJAX and respond accordingly) that *only* queries the database, compares the times, and returns the result.