INSERT INTO movie (id, title, desc, released, views, featured) VALUES ('', 'title', '
\r\n description
\r\n', '2006-12-12', '0', '0')
1064 - 你在你的SQL语法错误;检查对应于您的MySQL服务器版本的手册,在正确的语法上使用 'desc,released,views,featured')VALUES('','title',' \ r \ n description \ r \ n'在1号线
表结构
id [ (pk, auto_inc) int(11) ]
title [ varchar(256) ]
desc [ text ]
released [ date ]
views [ int(11) ]
featured [ int(11) ]
在phpMyAdmin SQL编辑器运行
你必须使用反引号“'desc”desc“(尽管跳过开头和结尾的空格) –