D:\webapp\www.saemaul.com\include\dao\admin\board\bbs.php : Line 17

Query : select b.seq, b.board_id, b.top_seq, b.sequence, b.depth, b.subject, b.read_cnt, b.is_open, b.reg_date, b.reg_id, b.reg_nm, b.passwd, b.type, b.secret, b.reg_ip, b.pr_date, b.pr_url, b.pr_com, b.kind1, b.kind2 from board b where (place=1 and top_seq > ) and b.board_id = 'news' order by place, top_seq, sequence desc limit 1


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 b.board_id = 'news' order by place, top_seq, sequence desc limit 1' at line 1