select count(*) as cnt from where wr_reply like '%' and wr_id <> '' and wr_num = '' and wr_is_comment = 0

1064 : 'SQL ±¸¹®¿¡ ¿À·ù°¡ ÀÖ½À´Ï´Ù.' ¿¡·¯ °°À¾´Ï´Ù. ('where wr_reply like '%' and wr_id <> '' and wr_n' ¸í·É¾î ¶óÀÎ 2)

error file : /site/bbs/write.php