Xmas countdown code help! (includes displaying images)
am 22.12.2005 09:26:47 von jusa_98--0-2140611851-1135240007=:30626
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi,
I have created a little Christmas countdown on the site using PHP and mySQL. The database controls the images displayed. But to make it simplier as I know the problem does not reflect my db setup or talking to the db I've re-wrote the code into a JavaScript code. So it's easier to read.
The problem is the days to Christmas and images displayed display absolutely fine. But when there is 0 days to Christmas the NEW YEAR image does not display. :( But the countdown ones do.
Here is the code: *I have commented areas with //*
You can see the code working at http://www.getpaid2reademails.com/
Ignore the PHPSESSID.
Also it currently only records time left from your personal clock on your PC. How would I go about getting the server time instead?
But of course this would not be ideal for everyone in different countries but I wondered an easy way to do it.
Thanks for your time.
Jerry
Send instant messages to your online friends http://au.messenger.yahoo.com
--0-2140611851-1135240007=:30626--