错误 Warning: Illegal string offset 'status' in E:\xuetang\ahsyj\www\e\member\AjaxLog\index.php on line 301 failuserid Warning: Illegal string offset 'mluserid' in E:\xuetang\ahsyj\www\e\member\AjaxLog\index.php on line 314
解决方法
301行改成 if(isset($check[status])!="loginsucess"){
314行改成 $myuserid=(int)isset($check['mluserid']);
错误原因是 $check数组中 找不到 $check[status]和 $check['mluserid']
|