Home  >  Article  >  Backend Development  >  为何不能获取URL中的&后面的参数

为何不能获取URL中的&后面的参数

WBOY
WBOYOriginal
2016-06-13 11:43:441242browse

为什么不能获取URL中的&后面的参数。
页面的URL是这样的:
page1.php?mod=aa&id=1
用_Get['mod']可以获取到aa.
但是用Get['id']却是空。
如何才能在php中获取到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