테스트 사이트 - 개발 중인 베타 버전입니다

수정을 했는데도 에러가 나와요 ㅠ

· 13년 전 · 679 · 1
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_게시판 이름으로 수정 했는데도

똑같은 에러가 발생합니다.

배추빌더 사용중이구요 ...

제발 알려주세요 ㅜㅜ

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 1개

latest() 함수 및 호출하는 부분을 보아야겟지만
위 쿼리문 바로 윗줄에 이렇게 넣어보세요
$tmp_write_table=$g4[write_prefix].$bo_table;
또는
$tmp_write_table=$g4[write_prefix].'게시판명';

게시글 목록

번호 제목
284438
284437
284435
284430
284420
284417
284409
284401
284399
284397
284380
284378
284371
284370
284366
284364
284360
284357
284355
284354