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

· 2011-10-22 (토) 17:44:02 · 1631 · 2
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 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
11-10-23 조회 1,272
11-10-23 조회 945
11-10-23 조회 904
11-10-23 조회 1,001
11-10-23 조회 840
11-10-23 조회 8,689
11-10-23 조회 859
11-10-23 조회 1,061
11-10-23 조회 1,005
11-10-22 조회 2,492
11-10-22 조회 1,684
11-10-22 조회 928
11-10-22 조회 1,045
11-10-22 조회 2,067
11-10-22 조회 1,079
11-10-22 조회 1,632
11-10-22 조회 1,310
11-10-22 조회 2,529
11-10-22 조회 1,639
11-10-22 조회 1,715