Home  >  Article  >  Backend Development  >  调试php的时分 最简单的echo不输出

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

WBOY
WBOYOriginal
2016-06-13 12:17:49716browse

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

本帖最后由 c2mepunchme 于 2015-04-09 20:43:10 编辑 初学者,调试php的时候 echo不输出,html部分正常,不知道是怎么回事
请大家帮忙!




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


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

------解决思路----------------------
你没再服务器运行就本地打开访问你觉得可行么?
------解决思路----------------------
你至少要有个运行环境吧,推荐PHPSTUDY
Statement:
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