에러 문의요~
본문
잘 사용 되다가 글쓰기 후에 갑자기 에러가 났어요
select * from g5_write_notice_news2 where wr_is_comment = 0 and wr_id not in (30, 27, 25, 24, 23, 22, 18, 17, 12, 11, 10, 8, 7, 6, 5, 4) order by wr_num, wr_reply limit 0, -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 '-1' at line 1
error file : /ms_yo/bbs/board.php
이런 내용인데요. 문제가 무엇인가요?
어찌 수정해야하나요? ㅠㅠ
답변을 작성하시기 전에 로그인 해주세요.