I've created a script to count down to a certain date (in seconds) but wish to have it "live" on the users computer while still grabbing the actual time from the server. Does anyone have any ideas on this? I'm thinking something using Java-script but I'm not so proficient in it. here's the PHP part of the code:
$day = 1;
$month = 1;
$year = 2005;
$seconds = (int)((mktime (0,0,0,$month,$day,$year) - time(void)));echo "$seconds seconds until 2005!";
Thank you.
Sincerely,
Garrett
$day = 1;
$month = 1;
$year = 2005;
$seconds = (int)((mktime (0,0,0,$month,$day,$year) - time(void)));echo "$seconds seconds until 2005!";
Thank you.
Sincerely,
Garrett
