• 2026-01-11
PHP Undefined index报错的修复方法

用$_GET["xx"]这种形式取得数据时,如果之前不加判断,$_GET["xx"]不存在时会出现这样的警告:PHP Notice: undefined ind......

11