여분 필드 검색에 포함하려고 하는데 이런글이 나오네요. 정보
여분 필드 검색에 포함하려고 하는데 이런글이 나오네요.본문
select distinct wr_parent from g4_write_02_8 where and (wr_num between '-2' and '9998')
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 'and (wr_num between '-2' and '9998')' at line 1
error file : /bbs/board.php
3단 검색? 이라고 하나요. 그것을 할려고 하는데.. 이렇게 나와요..
무슨 뜻인지 혹시 아시는분 계신가요?
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 'and (wr_num between '-2' and '9998')' at line 1
error file : /bbs/board.php
3단 검색? 이라고 하나요. 그것을 할려고 하는데.. 이렇게 나와요..
무슨 뜻인지 혹시 아시는분 계신가요?
댓글 전체
syntax에러에요.. 쿼리문에 보시면
select distinct wr_parent from g4_write_02_8 where and (wr_num between '-2' and '9998')
에러가 안나려면 (조건) 이 들어가야 하는데.. 위에 빠진걸 보니.. 소스가 잘못 처리되는거 같네요..
select distinct wr_parent from g4_write_02_8 where (조건) and (wr_num between '-2' and '9998')
쿼리부분을 찾아보세요..
select distinct wr_parent from g4_write_02_8 where and (wr_num between '-2' and '9998')
에러가 안나려면 (조건) 이 들어가야 하는데.. 위에 빠진걸 보니.. 소스가 잘못 처리되는거 같네요..
select distinct wr_parent from g4_write_02_8 where (조건) and (wr_num between '-2' and '9998')
쿼리부분을 찾아보세요..