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

WBOY
Release: 2016-06-13 12:09:11
Original
965 people have browsed it

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']);
------解决思路----------------------
">
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