select wr_id, wr_subject from g4_write_book_6 where wr_is_comment = 0 and wr_num = '-21' and wr_reply < '' and ((INSTR(wr_2, 'Ä«')) (INSTR(wr_2, 'È£')) ) order by wr_num desc, wr_reply desc limit 1

1064 : 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 '(INSTR(wr_2, 'È£')) ) order by wr_num desc, wr_reply desc limi

error file : /board/bbs/board.php