Connexion | Inscription | FAQ
Anonymous

browser not reading php commands

+ Publier une réponse

1 message Page 1 sur 1


browser not reading php commands

par euggil » Mar Juin 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
Avatar de l’utilisateur

euggil

  • Messages: 1
  • Inscrit le: Mar Juin 06, 2017 6:28 pm


+ Publier une réponse

Page 1 sur 1