小编adr*_*din的帖子

为什么这段 html 代码不起作用?

给定以下index.html文件:

<html>
<body>
<p>Welcome to <?= $_SERVER ['HTTP_HOST']; ?></p>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)

我期望看到“Welcome to Examples.COM”,我看到的只是“Welcome to”。如果代码签出,什么会导致这种情况发生?

html php variables

0
推荐指数
0
解决办法
89
查看次数

标签 统计

html ×1

php ×1

variables ×1