Hi - I'm trying to put the date on my web pages with the following code:
<? print(date("m-d-Y")); ?>
It doesn't seem to like it - no date showing up - do I need to alter this, or is it down to the server settings?
Thanks!
Paul.
Hi - I'm trying to put the date on my web pages with the following code:
<? print(date("m-d-Y")); ?>
It doesn't seem to like it - no date showing up - do I need to alter this, or is it down to the server settings?
Thanks!
Paul.
I sorted this problem - for future reference:
One needs to log into to the CP - goto Apache Handlers - add the following:
In the extensions box add: .php .html
In the handlers box add: application/x-httpd-php
Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)