\shop\navigation1.inc.php 쿼리문 에러.. > 그누4 질문답변

그누4 질문답변

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

\shop\navigation1.inc.php 쿼리문 에러.. 정보

\shop\navigation1.inc.php 쿼리문 에러..

본문

원래 쿼리문..
select ca_name from $g4[yc4_category_table] where ca_id = '$code'

에러 안나는 쿼리문
select bo_subject from mysql.g4_board where bo_table = '$code'

에러가 나는 쿼리문..
select bo_subject from $g4[g4_board_table] where bo_table = $code'

에러 내용
g4_로 시작하는 모든 테이블에서 아래와 같은 에러가 나옵니다..
문장 에러인데요..
테이블을 못 찾아주는것 같습니다..

select bo_subject from where bo_table = 'uco01'
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 bo_table = 'uco01'' at line 1


\shop\navigation1.inc.php 에 있던 파일을 복사해서 게시판 쓸려고했는데, 이런 문제가 나왔네요.. 모든 테이블은 같은 DB아래 있구요..
문제 해결법 부탁드립니다..
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로