Home  >  Article  >  Backend Development  >  帮忙看一下这个有关问题

帮忙看一下这个有关问题

WBOY
WBOYOriginal
2016-06-13 13:53:44672browse

帮忙看一下这个问题

      location= "xxx.php?ID=1 "


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

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