Login | Register | FAQ
Anonymous

browser not reading php commands

+ Post a reply

1 post Page 1 of 1


browser not reading php commands

by euggil » Tue Jun 06, 2017 6:33 pm

Hello everyone!

writting simple commands such as

<html>
<head>
<title>My first PHP document</title>
</head>
<body>

<?php

echo "<p>Current date and time: " . date("r") . "</p>";

?>

</body>
</html>

browser displays:

Current date and time: " . date("r") . "
"; ?>

xampp is working and the script is right. do you know where is the problem?

Thanks
User avatar

euggil

  • Posts: 1
  • Joined: Tue Jun 06, 2017 6:28 pm


+ Post a reply

Page 1 of 1