ˣ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="1" 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` WHERE `rec_trash`=0 AND `rec_isdel`=0 AND rec_userid= AND oa_msg.msg_type="1" 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.php60indexMsgController->[]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=\"1\" 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` WHERE `rec_trash`=0 AND `rec_isdel`=0 AND rec_userid= AND oa_msg.msg_type=\"1\" 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\msg\msg.class.php39msglistmessage->["msg",{"showrow":10,"curpage":1,"url":"?c=msg&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