그누보드 설치하고 이거저거 조금 만지다가 로그인을 하니 에러가 나오네요 ㅠㅠ 정보
그누보드 설치하고 이거저거 조금 만지다가 로그인을 하니 에러가 나오네요 ㅠㅠ
본문
select * from where mb_id = 'admin' and ss_ip != '61.79.80.56' and ss_datetime > '2012-03-23 16:13:33' order by ss_datetime desc limit 1
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 mb_id = 'admin' and ss_ip != '61.79.80.56' and ss_datetime > '2012-03-23 1' at line 1
error file : /bbs/bbs/login_check.php
라고 나옵니다. 확인좀 부탁드립니다.^^
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 mb_id = 'admin' and ss_ip != '61.79.80.56' and ss_datetime > '2012-03-23 1' at line 1
error file : /bbs/bbs/login_check.php
라고 나옵니다. 확인좀 부탁드립니다.^^
댓글 전체

sql 문에서는 != 가 아니라 <> 이거 아닌가용?! +_+!