MySQL의 :다음과 같이 나는 MySQL의 쿼리를 삽입 오류
$sql = "
INSERT INTO
tbl_stopage
SET
bus_id = '$bid',
stopage_name = '$info[stopage_name]',
fare = '$info[fare]',
from = 'Ghy'
";
을하지만 위의 쿼리를 실행하려고 할 때, 그것은 다음과 같은 오류 보여줍니다
가 예약 된 SQL에서DB Error.
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 'from = 'Ghy'' at line 7
INSERT INTO tbl_stopage SET bus_id = '1', stopage_name = 'Dergaon', fare = '123', from = 'Ghy'
감사합니다. xQbert, 나는'from'을'source_station'으로 변경했습니다. – Nitish