![]() |
javascript to php?
Hello,
So thanks to the help of JinnKai, I was able to get this excellent piece of code to do exactly what I needed Code:
<script language="JavaScript"> thanks. |
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()) |
All times are GMT -8. The time now is 09:07 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project