wrong query ( SELECT * FROM WHERE delflag = ? AND iscomment = ? ORDER BY isimportant DESC, writetime DESC, replyrank ASC, replyorder ASC, indexcode DESC limit ?, ? ) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE delflag = ? AND iscomment = ? ORDER BY isimportant DESC, writetime DESC...' at line 1
wrong query ( SELECT count(*) FROM WHERE delflag = ? AND iscomment = ? ) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE delflag = ? AND iscomment = ?' at line 1

Jeonbuk International Cooperation Agency