php 在 HTML 文件中使用 VS 代码

问题描述 投票:0回答:0

在使用 VS 代码的 HTML 文件中,我正在尝试执行 php 语句。 (只是这个例子的身体)

<body>

 <?php echo "hello world!"; ?>
</body>

领先的“<" in the statement is red indicating an error. Is there a VS code extension I need?

我尝试安装智能感知扩展但没有成功修复“<" red error.

php html visual-studio-code
© www.soinside.com 2019 - 2024. All rights reserved.