[snip]
If you use the date function in PhP you can get the date and it will not
change in the cache since the actual code is not on the page that
generated
it.

My question is how do I get the answer that I have in a PHP variable
back to
an HTML page and give it lets say to JavaScript to display.
[/snip]

Why do you need to give it to JavaScript to display? Consider this in
your HTML ....

<?php echo date("m - d - Y"); ?><br>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to