Home  >  Article  >  Backend Development  >  弱弱的问个问题

弱弱的问个问题

WBOY
WBOYOriginal
2016-06-23 14:20:02864browse

why.php如下
if($_GET["Pa"]){
echo $_GET["Pa"];
}else{echo "error";}
?>

这样访问:localhost/why.php?pa=2222
为什么显示error?为什么$_GET["Pa"]得不到值?
我小白!什么都不懂


回复讨论(解决方案)

大小写的问题吧,数组索引键是区分大小写的。

区分大小写的。

不是,浏览器缓存的问题

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