Notice: Undefined variable 的解决方法

2010-8-30 杜世伟 Php

这是PHP警告信息,是由于未定义变量引起的。

比如:你未设置变量,却在php中用echo $varstr 了,就会出显这种情况, phperz~com

解决方法:

1.修改php.ini php程序员站

将: error_reporting = E_ALL

修改为:error_reporting = E_ALL & ~E_NOTICE

2.如果什么错误都不想...

阅读全文>>

标签: Notice Undefined variable Notice: Undefined variable 的解决方法

评论(0) 浏览(4115)

Powered by emlog 沪ICP备2023034538号-1