php中$_POST[]取不到值

WBOY
Release: 2016-06-23 14:01:48
Original
811 people have browsed it

include("mysql_class.php");

echo $_POST[name].a;


?>




  

回复讨论(解决方案)

面对这样的问题,我不能一下看出问题(难道仅仅是因为没有提交按钮也没有提交?)

不过可以给你个找问题原因的办法: 装一个firebug 监视所有的网络请求, 看有没有post请求  都post了什么

很多问题一用firebug就迎刃而解...

你没提交怎么可能有值呢

谢了~~
submit按钮写另一张form里面了,
无语了,怎么都没想起提交这回事

汗 原来真的是因为没有提交按钮...

很多问题原来没有想象中那么复杂啊..

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!