Home  >  Article  >  php教程  >  php Undefined index的问题

php Undefined index的问题

WBOY
WBOYOriginal
2016-06-13 12:24:04800browse

可以再错误语句前加上@

也可以修改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
Previous article:php adodb连接不同数据库Next article:php session 错误