Home >Backend Development >PHP Tutorial >获取上一页面id解决方案

获取上一页面id解决方案

WBOY
WBOYOriginal
2016-06-13 11:57:561251browse

获取上一页面id

获取上一页面的id,但是输出的结果为FALSE,
求请教
------解决方案--------------------
#5 截图中显示 file_id 是 url 变量
你用 $_POST['file_id'] 当然取不到值
要用 $_GET['file_id'] 才行
------解决方案--------------------
$field = $_GET['field'];

使用超连接的属于GET方式传输,使用$_GET来获取。

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