board.php 에러났어요 정보
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
라고 뜨네요
게시판이 하나도 안떠요...
어떻게 해결해야되는건가여
댓글 전체
DB 테이블에 wr_is_comment 필드가 없어서 그럴겁니다
불당팩 버전 업하다가 그런다는걸 봤던 것 같기도 한데
게시판 테이블에 해당 필드 wr_is_comment 추가해주시면 됩니다.
불당팩 버전 업하다가 그런다는걸 봤던 것 같기도 한데
게시판 테이블에 해당 필드 wr_is_comment 추가해주시면 됩니다.
답변 감사합니다
phpMyAdmin 에서 하는거 맞나여??
테이블 많은데 어떤테이블인지 모르겠네요..
이쪽에 문외한이라..ㅠㅠ
혹시 어떤테이블에서 삽입해야되는지 아시면 알려주세여
phpMyAdmin 에서 하는거 맞나여??
테이블 많은데 어떤테이블인지 모르겠네요..
이쪽에 문외한이라..ㅠㅠ
혹시 어떤테이블에서 삽입해야되는지 아시면 알려주세여
sql 들어가보니 해당필드 존재하네요...
답변주셨는데 아닌거같아요..ㅠㅠ
답변주셨는데 아닌거같아요..ㅠㅠ
아 다시보니까 table 명이 없네요 -_-;;
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
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