Java scipt + php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
valmerin
Forum Newbie
Posts: 6
Joined: Mon Nov 02, 2009 5:29 pm

Java scipt + php

Post by valmerin »

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.
Post Reply