이건 무슨 얘기인지 모르겟는데 답변좀 주세요 ㅠㅠ 정보
이건 무슨 얘기인지 모르겟는데 답변좀 주세요 ㅠㅠ본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
select * from g4_board_file where bo_table = 'com01_1' and wr_id in () order by bf_no
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 ') order by bf_no' at line 1
error file : /newscreen/index.php
이렇게 떠요 ㅜ
근데 글을 등록하면 뜨는데 이건 왜그러죠 ?
오류 주소 :
select * from g4_board_file where bo_table = 'com01_1' and wr_id in () order by bf_no
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 ') order by bf_no' at line 1
error file : /newscreen/index.php
이렇게 떠요 ㅜ
근데 글을 등록하면 뜨는데 이건 왜그러죠 ?
댓글 전체
wr_id in () <----- sql 구문이 잘못되었습니다.
wr_id 부분에 wr_id 값이 들어가야하는데 아마 코딩상의 문제 등으로인하여
wr_id 값이 제대로 들어오지 않는듯합니다.
예를들어 정상적인 코드라면
wr_id in ('1','2') 이런식으로 되어 있어야 합니다.
wr_id 부분에 wr_id 값이 들어가야하는데 아마 코딩상의 문제 등으로인하여
wr_id 값이 제대로 들어오지 않는듯합니다.
예를들어 정상적인 코드라면
wr_id in ('1','2') 이런식으로 되어 있어야 합니다.