帮忙看一下这个有关问题

WBOY
Release: 2016-06-13 13:53:44
Original
714 people have browsed it

帮忙看一下这个问题

      location= "xxx.php?ID=1 "


在xxx.php我接收不到id的值。请问我应该怎么写?

------解决方案--------------------
1.用js的话就分析当前location.href值
2.用php直接print_r($_GET),你就知道怎么拿了
------解决方案--------------------
$_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