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

WBOY
Release: 2016-06-13 12:17:49
Original
716 people have browsed it

调试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>
Copy after login


<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>
Copy after login

------解决思路----------------------
你没再服务器运行就本地打开访问你觉得可行么?
------解决思路----------------------
你至少要有个运行环境吧,推荐PHPSTUDY
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!