Java scipt + php
Posted: Wed Dec 02, 2009 8:12 pm
Ok i am amking a countdown timer, in a sql table is an end time in using the servertime it was created + so many seconds to create an end time or date. I wana grab that time - actual server time to count down. I have made a timer that gets the current real time and it automaticly updates. Now i wana connect to my db in php and pass that end time - current server time to javascript on the page its needed. Could some one tell me or help me learn how to pass a variable like that to js. Ty for your help in advanced you guys are great so far.