Entrar | Registrar | FAQ
Anonymous

browser not reading php commands

+ Postar uma resposta

1 Mensagem Página 1 de 1


browser not reading php commands

por euggil » Ter 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
Avatar de usuário

euggil

  • Mensagens: 1
  • Data de registro: Ter Jun 06, 2017 6:28 pm


+ Postar uma resposta

Página 1 de 1