登录 | 注册 | FAQ
Anonymous

browser not reading php commands

+ 发表回复

1 篇帖子 分页: 1 / 1


browser not reading php commands

euggil » 周二 6月 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
头像

euggil

  • 帖子: 1
  • 注册: 周二 6月 06, 2017 6:28 pm


+ 发表回复

分页: 1 / 1