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

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

WBOY
WBOYOriginal
2016-06-13 12:09:11995browse

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

本帖最后由 wunaichaoge 于 2014-11-02 20:05:47 编辑 主页面部分代码:
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