Home >Backend Development >PHP Tutorial >form提交时候action里面接个变量

form提交时候action里面接个变量

WBOY
WBOYOriginal
2016-06-23 13:46:241537browse

主页面部分代码:
echo "


{$_post_info['username']}


{$_post_info['title']}

{$_post_info['content']}


{$_post_info['date']}

";}

点击上述链接进入分页面
分页面部分代码:


提交表单之后网址显示的是
http://localhost:8080/bbs/post.php?id=%27.$_GET[%27id%27].%27
求教如何把变量输出成数字= =
这方面不是很清楚谢谢了


回复讨论(解决方案)

var_dump($_GET['id']);

">

">
我只能说一句 哎呀卧槽 
脑子梗住了没想到
谢谢哈
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