调试php的时候 最简单的echo不输出

WBOY
Release: 2016-06-23 13:37:03
Original
1524 people have browsed it

初学者,调试php的时候 echo不输出,html部分正常,不知道是怎么回事
请大家帮忙!




<html><body><form action="./welcome_get.php" method="post">Name: <input type="text" name="name"><br>E-mail: <input type="text" name="email"><br><input type="submit"></form></body></html>
Copy after login


<html><body>Welcome <?php echo test; ?><br>Your email address is: <?php echo $_POST["email"]; ?> </body></html>
Copy after login


回复讨论(解决方案)

你没再服务器运行就本地打开访问你觉得可行么?

你至少要有个运行环境吧,推荐PHPSTUDY

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