Home  >  Article  >  Backend Development  >  php,button传值的问题

php,button传值的问题

WBOY
WBOYOriginal
2016-06-23 13:32:141063browse

 



我想向true_delete.php传一个上面定义的$mark_id 
但是到了true_delete.php 显示错误Undefined index: mark_id 
是我没有传到值吗?我语句错了吗


回复讨论(解决方案)

我自己解决了!!
我写成了
应该写为

怪事!
true_delete.php? Gid=
分明传递的是 Gid,当然不会有 mark_id 项
居然还说解决了

怪事!
true_delete.php? Gid=
分明传递的是 Gid,当然不会有 mark_id 项
居然还说解决了



哈哈我表达失误 我在页面get的是gid

我在页面get的是gid
这也不对,应该是 Gid
变量名和关联键都是区分大小写的

我在页面get的是gid
这也不对,应该是 Gid
变量名和关联键都是区分大小写的



嗯嗯 这种小失误我尽量避免


==

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