点首页出现下面的错误:
Notice: Undefined index: step in E:\web\libs\com\okeysys\http\request\Request.class.php on line 174Notice: Undefined index: page in E:\web\libs\com\okeysys\http\request\Request.class.php on line 174Notice: Undefined index: skip in E:\web\libs\com\okeysys\http\request\Request.class.php on line 231Notice: Undefined index: token in E:\web\libs\com\okeysys\http\session\Session.class.php on line 46Notice: Undefined index: uid in E:\web\libs\com\okeysys\http\session\Session.class.php on line 46
点注册,其他页面出现下面的错误:Notice: Undefined index: step in E:\web\libs\com\okeysys\http\request\Request.class.php on line 174Notice: Undefined index: page in E:\web\libs\com\okeysys\http\request\Request.class.php on line 174Notice: Undefined index: skip in E:\web\libs\com\okeysys\http\request\Request.class.php on line 231error.
Access denied!高手快帮我看看啊,在线等啊
Notice: Undefined index: step in E:\web\libs\com\okeysys\http\request\Request.class.php on line 174Notice: Undefined index: page in E:\web\libs\com\okeysys\http\request\Request.class.php on line 174Notice: Undefined index: skip in E:\web\libs\com\okeysys\http\request\Request.class.php on line 231Notice: Undefined index: token in E:\web\libs\com\okeysys\http\session\Session.class.php on line 46Notice: Undefined index: uid in E:\web\libs\com\okeysys\http\session\Session.class.php on line 46
点注册,其他页面出现下面的错误:Notice: Undefined index: step in E:\web\libs\com\okeysys\http\request\Request.class.php on line 174Notice: Undefined index: page in E:\web\libs\com\okeysys\http\request\Request.class.php on line 174Notice: Undefined index: skip in E:\web\libs\com\okeysys\http\request\Request.class.php on line 231error.
Access denied!高手快帮我看看啊,在线等啊
$a = $test['tep'];呵呵 这样就会出现哪些错误了 一般是这样写的
$test = array();
if($test['tep'] == ''){
....................;
}判断一个数组成员是否存在不应该判断是否为空 而应该用isset或者array_key_exists