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 ', '','','','',,,,,'','','','', '','','','','',0,'','PayByCheque','Y','Open', ' at line 13insert into pinpeople_order_details(orderdetail_Ribbon_Color,orderdetail_Ribbon_Outline,orderdetail_Attachment, orderdetail_Attachment_count,orderdetail_Attachment_Flip,orderdetail_AttachmentXpos,orderdetail_AttachmentYpos,orderdetail_Pattern, orderdetail_TextColor,orderdetail_Caption,orderdetail_Font,orderdetail_FontSize,orderdetail_Quantity,orderdetail_Size,orderdetail_Price, orderdetail_fname,orderdetail_lname,orderdetail_businesname,orderdetail_Ship_Address,orderdetail_Bill_Address,orderdetail_city,orderdetail_state,orderdetail_country,orderdetail_phone, orderdetail_fax,orderdetail_email,orderdetail_Payment_Mode,orderdetail_Pay_Status,orderdetail_Order_Status,orderdetail_ship_city, orderdetail_ship_country,orderdetail_ship_businesname,orderdetail_date) values ('','','','','',,, '','','','',,,,,'','','','', '','','','','',0,'','PayByCheque','Y','Open', '','','','2017-4-27')