问题描述:

Probably just a minor mistake, but I am getting above message when I try to query this string.

INSERT INTO `data`(`title`, `category`, `price`, `link`) VALUES (`Moto G 3rd Generation`,`mobiles`,`8999`,`https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&es_th=1&ie=UTF-8#q=godaddy%20mysql&es_th=1`)

网友答案:

Escape string values with quotos and column and table names with backticks.

INSERT INTO `data`(`title`, `category`, `price`, `link`) 
VALUES ('Moto G 3rd Generation', ...
相关阅读:
Top