0
我收到以下错误,同时运行我的代码,如何自动填充mysql数据库?
INSERT INTO
widgets
(id
,page
,location
,title
,content
,global
) VALUES right(1, '/', '', 'Welcome to Animal Rights Pakistan', 'Animal Rights Pakistan is a collaboratively edited question and answer site built to suit your needs.
\r\n\r\nIt''s easy to use, with no registration required!
\r\n\r\nco/questions/ask">ask a question
', 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 'right(1, '/', '', 'Welcome to Animal Rights Pakistan', '<p>Animal Rights Pakista' at line 1
在此先感谢。
尝试不带'正确'的查询〜 – goseo 2013-04-07 10:19:25
VALUES right应该是VALUES – Bart 2013-04-07 10:19:42