ˣ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 AND oa_receiver.rec_read_state=0
filelinefunctionclasstypeargs
1D:\www\oa.nkjy.com\lib\incs\global.php60indexNoticeController->[]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 AND oa_receiver.rec_read_state=0"]5D:\www\oa.nkjy.com\apps\notice\notice.class.php44msglistmessage->["notice",{"showrow":10,"curpage":1,"url":"?c=notice&page={page}&q=0:0"},"0:0","0"]6D:\www\oa.nkjy.com\index.php10["D:\\www\\oa.nkjy.com\\lib\\incs\\global.php"]include_once