|Trouble with countdown timer [message #875385]
||Tue, 22 May 2012 12:33
| Neel Choudhary
Registered: May 2012
$target = mktime(0, 0, 0, 06,22,2012) ;
$today = time (0,0,0, 05,22,2012) ;
$difference =($target-$today) ;
$days =(int) ($difference/86400) ;
print "Christmas is in $days days";
I put in that code and i don't know what's wrong but for some reason it doesn't work on my server.
What am I missing?
Powered by FUDForum
. Page generated in 0.04584 seconds