Zaloguj | Zarejestruj | FAQ
Anonymous

browser not reading php commands

+ Odpowiedz

Posty: 1 Strona 1 z 1


browser not reading php commands

przez euggil » Wt cze 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 użytkownika

euggil

  • Posty: 1
  • Dołączył(a): Wt cze 06, 2017 6:28 pm


+ Odpowiedz

Strona 1 z 1