Home  >  Article  >  Backend Development  >  php Undefined index的问题_PHP

php Undefined index的问题_PHP

WBOY
WBOYOriginal
2016-06-01 12:23:04681browse

可以再错误语句前加上@

也可以修改PHP.INI

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

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

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