차얌

query : select * from wk_bbs_presentation where (1=1) and view_ck='Y' and ((fno= and thread<'') or (fno>'')) order by fno asc, thread desc limit 0,1
errno : 1064
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 thread<'') or (fno>'')) order by fno asc, thread desc limit 0,1' at line 1 데이터베이스 오류-!!!