수정을 했는데도 에러가 나와요 ㅠ 정보
수정을 했는데도 에러가 나와요 ㅠ본문
select * from where wr_comment = '' and wr_reply = '' order by wr_id DESC 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 'where wr_comment = '' and wr_reply = '' order by wr_id DESC LIMIT 0, 1' at line 2
error file : /test/index.php
아래 주소의 불량감자님 스킨 사용시 위의 에러가 발생됩니다.
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=81026&sca=&sfl=mb_id%2C1&stx=kang482
latest 파일의
$sql = " select * from $tmp_write_table 부분에서 $tmp_write_게시판 이름으로 수정 했는데도
똑같은 에러가 발생합니다.
배추빌더 사용중이구요 ...
제발 알려주세요 ㅜㅜ
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_comment = '' and wr_reply = '' order by wr_id DESC LIMIT 0, 1' at line 2
error file : /test/index.php
아래 주소의 불량감자님 스킨 사용시 위의 에러가 발생됩니다.
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=81026&sca=&sfl=mb_id%2C1&stx=kang482
latest 파일의
$sql = " select * from $tmp_write_table 부분에서 $tmp_write_게시판 이름으로 수정 했는데도
똑같은 에러가 발생합니다.
배추빌더 사용중이구요 ...
제발 알려주세요 ㅜㅜ
댓글 전체
latest() 함수 및 호출하는 부분을 보아야겟지만
위 쿼리문 바로 윗줄에 이렇게 넣어보세요
$tmp_write_table=$g4[write_prefix].$bo_table;
또는
$tmp_write_table=$g4[write_prefix].'게시판명';
위 쿼리문 바로 윗줄에 이렇게 넣어보세요
$tmp_write_table=$g4[write_prefix].$bo_table;
또는
$tmp_write_table=$g4[write_prefix].'게시판명';