Login | Iscriviti | FAQ
Anonymous

browser not reading php commands

+ Rispondi al messaggio

1 messaggio Pagina 1 di 1


browser not reading php commands

da euggil » mar giu 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 utente

euggil

  • Messaggi: 1
  • Iscritto il: mar giu 06, 2017 6:28 pm


+ Rispondi al messaggio

Pagina 1 di 1