<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo "<p>Hello World</p>"; ?>
</body>
</html>
Above code not working here:
http://melody.freeprohost.com/2.php
Likewise for the one below:
http://melody.freeprohost.com/1.php
<html>
<h3>The Date & Time: </h3>
<? echo (date ("l dS of F Y h:i:s A")); ?>
</html>
Above php codes working fine here:
http://melody.freeprohost.com/test1.php
But can't see the date and time below the words "The Date & Time" :
http://127.0.0.1/test1.php
I wonder where has gone wrong.
I would appreciate very much if someone could help me?
I have raised the same question in other php forum but no one seems to know where the problem lies. I typed the code on notepad and change the file extension from 1.txt to 1.php - could it be the reason for the problem?