2017-01-07 点击量: 791$_get未传值时报NOTICE错误$_get未传值时报NOTICE错误加一个判断就可以了 if(is_set($_GET["module"])){ $module = $_GET["module"]; }例子:$module = isset($_GET['module'])? $_GET['module']:'index'; 或者屏蔽NOTICE错误加入 error_reporting(E_ALL ^ E_NOTICE); 喜欢 1
评论已关闭!