View Single Post
Old 12-16-2005, 05:56 AM   #2 (permalink)
d*d
Addict
 
d*d's Avatar
 
That would be fairly simple to convert to php, the structure wouldn't need to change just a few commands, wrap it in <?php ?>, and document.write becomes echo"";

check on php.net to find out how to use the date function and you don't need to specify var hours for a variable but all variables do need a $ symbol ($hours = Date())
d*d is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47