Welcome

首页 / 网页编程 / PHP / php Undefined index的问题

可以再错误语句前加上@

也可以修改PHP.INI

PHP.INI里的error_reporting = E_ALL造成的,如果不希望看到这个提示,可以
error_reporting = E_ALL &~E_NOTICE。

也可在页面顶部加上error_reporting(0); 将禁止本页内任何错误显示