조

상단메뉴 도움좀 요청드립니다.

http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=99703&sca=&sfl=wr_subject%7C%7Cwr_content&stx=%EB%A9%94%EB%89%B4&sop=and&page=7

링크의 상단 메뉴를 탑재 할 예정입니다. 우선 설치는 다 되고 메뉴는 제대로 나옵니다만..

최신글들이 모두 나오지 않고 아래 오류가 납니다..

select bo_table, wr_id from g4_board_new where wr_id = wr_parent 'event2', 'free', 'free_board', 'headline', 'interview', 'outsourcing', 'recruit', 'test3', 'qna', 'qna2', 'event', 'faq', 'notice', 'lecture', 'test' and bo_table !='cust' and bo_table !='event' and bo_table !='faq' and bo_table !='free' and bo_table !='notice' and bo_table !='qa' and bo_table !='review' and bo_table !='suggest' and bo_table !='lecture' and bo_table !='test' order by bn_datetime desc limit 0, 11

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 ''event2', 'free', 'free_board', 'headline', 'interview', 'outsourcing', 'recruit' at line 1

error file : /renewal/index.php



---------------

include_once("$g4[path]/lib/navigation.lib.php");

이거만 인클루드 시키면 이런 오류가 나오는데... 혹시 원인이 뭔지 알고 계신분 도움좀 부탁드립니다.
|

댓글 2개

쿼리문 자체가 문법에 맞지않습니다. 아래 부분
where wr_id = wr_parent 'event2', 'free', 'free_board'................
죄송합니다만... 어떻게 고쳐야 하는지좀 알려주실수 있을까요..
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
11-10-23 조회 1,282
11-10-23 조회 958
11-10-23 조회 918
11-10-23 조회 1,011
11-10-23 조회 855
11-10-23 조회 8,704
11-10-23 조회 871
11-10-23 조회 1,075
11-10-23 조회 1,016
11-10-22 조회 2,511
11-10-22 조회 1,702
11-10-22 조회 945
11-10-22 조회 1,062
11-10-22 조회 2,087
11-10-22 조회 1,093
11-10-22 조회 1,644
11-10-22 조회 1,320
11-10-22 조회 2,543
11-10-22 조회 1,655
11-10-22 조회 1,731