\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아래 있구요..
문제 해결법 부탁드립니다..
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아래 있구요..
문제 해결법 부탁드립니다..
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 5개
g4 테이블쪽에 접근이 안되도록 되어 있는거 같아요..ㅋ
우선.. 2번째로 적용했어요 ㅠ
config.php 및 shop.config.php가 먼저 include 된 후에 include 되어야 합니다