ˣMySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND oa_msg.msg_type="2" AND oa_msg.msg_id=oa_receiver.msg_id AND oa_user.user_id' at line 1
SELECT count(*) FROM (`oa_msg`,`oa_receiver`,`oa_user`) LEFT JOIN `oa_msg_level` ON oa_msg_level.msg_id=oa_msg.msg_id WHERE `rec_trash`=0 AND `rec_isdel`=0 AND rec_userid= AND oa_msg.msg_type="2" AND oa_msg.msg_id=oa_receiver.msg_id AND oa_user.user_id=oa_msg.msg_from_id
filelinefunctionclasstypeargs
1D:\www\oa.nkjy.com\lib\incs\global.php60mainIndexController->[]2D:\www\oa.nkjy.com\lib\incs\db.php375outputErrorMyPDO->["You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND oa_msg.msg_type=\"2\" AND oa_msg.msg_id=oa_receiver.msg_id AND oa_user.user_id' at line 1"]3D:\www\oa.nkjy.com\lib\incs\db.php75getPDOErrorMyPDO->[]4D:\www\oa.nkjy.com\apps\public\message.class.php179queryMyPDO->["SELECT count(*) FROM (`oa_msg`,`oa_receiver`,`oa_user`) LEFT JOIN `oa_msg_level` ON oa_msg_level.msg_id=oa_msg.msg_id WHERE `rec_trash`=0 AND `rec_isdel`=0 AND rec_userid= AND oa_msg.msg_type=\"2\" AND oa_msg.msg_id=oa_receiver.msg_id AND oa_user.user_id=oa_msg.msg_from_id"]5D:\www\oa.nkjy.com\apps\index\index.class.php33msglistmessage->["notice",{"showrow":5,"curpage":1},"0:0"]6D:\www\oa.nkjy.com\index.php10["D:\\www\\oa.nkjy.com\\lib\\incs\\global.php"]include_once