테스트 사이트 - 개발 중인 베타 버전입니다

1064 오류가 뜨는데 도와주세요 ㅜㅜ 채택완료

냥냥이입니당 10년 전 조회 3,075

select * from where bo_table = 'gallery1' and mb_id = 'admin' and bf_ip = '211.63.137.240'

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 = 'gallery1' and mb_id = 'admin' and bf_ip = '211.63.137.240'' at line 1

error file : /bbs/write.php

 

 

어떻게 해야되나요?

첨부파일을 올리려고 하는데 이런문구가 나오더라구요 ㅜㅜ

댓글을 작성하려면 로그인이 필요합니다.

답변 2개

채택된 답변
+20 포인트
10년 전

​select * from table_name where bo_table = 'gallery1' and mb_id = 'admin' and bf_ip = '211.63.137.240'  

 

테이블명이 없습니다.

 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

10년 전

select * from 테이블명 where 조건문

select * from 테이블명 where bo_table = 'gallery1' and mb_id = 'admin' and bf_ip = '211.63.137.240'

쿼리문 오류입니다. 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인