INSERT INTO tbl_insurancedetail (year_id, crmcode, notified, sale_id, closedate, payatbranch, customer_id, car_id, data_id, baycardate, cartype_id, insurance, insurancetype_id, insurer_id1, repair_id, agents_id1, insurancepremium, insurancenet, insuranceduration, insuranceprotecstart, insuranceprotecend, insuranceappointmentdate, insurancedurationappointment, member_id) VALUES (1,'new 1122','123456',1,'2010-02-22',3,4,5,2,'2010-02-16',1,'Y',1,1,1,1,'2,000.00','1861.71','1','2010-02-17','2011-02-17','2010-02-09','8', 3You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1