상단메뉴 도움좀 요청드립니다. 정보
상단메뉴 도움좀 요청드립니다.본문
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");
이거만 인클루드 시키면 이런 오류가 나오는데... 혹시 원인이 뭔지 알고 계신분 도움좀 부탁드립니다.
링크의 상단 메뉴를 탑재 할 예정입니다. 우선 설치는 다 되고 메뉴는 제대로 나옵니다만..
최신글들이 모두 나오지 않고 아래 오류가 납니다..
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");
이거만 인클루드 시키면 이런 오류가 나오는데... 혹시 원인이 뭔지 알고 계신분 도움좀 부탁드립니다.
댓글 전체
쿼리문 자체가 문법에 맞지않습니다. 아래 부분
where wr_id = wr_parent 'event2', 'free', 'free_board'................
where wr_id = wr_parent 'event2', 'free', 'free_board'................
죄송합니다만... 어떻게 고쳐야 하는지좀 알려주실수 있을까요..