INSERT INTO movie (id, title, desc, released, views, featured) VALUES ('', 'title', '
\r\n description
\r\n', '2006-12-12', '0', '0')
ข้อผิดพลาดคือ
1,064 - คุณมีข้อผิดพลาดในไวยากรณ์ SQL ของคุณ ตรวจสอบคู่มือที่สอดคล้องกับเวอร์ชันเซิร์ฟเวอร์ MySQL ของคุณเพื่อหาไวยากรณ์ที่ถูกต้องเพื่อใช้ใกล้กับ 'desc, release, views, allowance) VALUES ('', 'title', ' \r\n description \r\n', ' at line 1
โครงสร้างตารางคือ
id [ (pk, auto_inc) int(11) ]
title [ varchar(256) ]
desc [ text ]
released [ date ]
views [ int(11) ]
featured [ int(11) ]
ทำงานในตัวแก้ไข phpmyadmin sql