php提示undefined index的几种解决方法

定义一个函数:复制代码 代码如下:function _get{。然后在用的时候,直接用 _get 代替 $_GET 就行啦~

PHP的Undefined variable错误怎么解决?

解决方法,找到php.ini的位置:1)在 error_reporting设置: 找到error_reporting = E_ALL 修改为error_reporting = E_ALL & ~E_NOTICE。

网站地图