board.php 에러났어요
select * from where wr_is_comment = 0 order by wr_num, wr_reply limit 0, 16
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 'where wr_is_comment = 0 order by wr_num, wr_reply limit 0, 1
error file : /gnuboard4/bbs/board.php
라고 뜨네요
게시판이 하나도 안떠요...
어떻게 해결해야되는건가여
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 'where wr_is_comment = 0 order by wr_num, wr_reply limit 0, 1
error file : /gnuboard4/bbs/board.php
라고 뜨네요
게시판이 하나도 안떠요...
어떻게 해결해야되는건가여
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 4개
불당팩 버전 업하다가 그런다는걸 봤던 것 같기도 한데
게시판 테이블에 해당 필드 wr_is_comment 추가해주시면 됩니다.
phpMyAdmin 에서 하는거 맞나여??
테이블 많은데 어떤테이블인지 모르겠네요..
이쪽에 문외한이라..ㅠㅠ
혹시 어떤테이블에서 삽입해야되는지 아시면 알려주세여
답변주셨는데 아닌거같아요..ㅠㅠ
select * from where wr_is_comment = 0 order by wr_num, wr_reply limit 0, 16
적절한 TABLENAME 이 있어야지요
select * from {TABLENAME} where wr_is_comment = 0 order by wr_num, wr_reply limit 0, 16