我这段代码有错吗?

WBOY
Release: 2016-06-23 14:14:33
Original
708 people have browsed it

我这段代码有错吗?

echo '

';
?>







可是执行的结果是在text输入框前的前面,多了一些字符:

'; ?>

请问这是怎么回事?

回复讨论(解决方案)

是不是因为该文件的名字是login.html的原因?

含有 php 代码的文件需保存为 php 后缀的文件,或被 php 程序文件包含

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template