The attend/primary profile insert info 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 '3017,'profile',838,'225.00')' at line 2 INSERT INTO cart(user_reg_userid,contentid,content_type,event_eventid,fee_amount) VALUES (,3017,'profile',838,'225.00') Function insert info 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 '10135,'function',838, '1','')' at line 2 INSERT INTO cart (user_reg_userid,contentid,content_type,event_eventid, function_quantity,fee_amount) VALUES (,10135,'function',838, '1','') Function insert info 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 '10134,'function',838, '1','')' at line 2 INSERT INTO cart (user_reg_userid,contentid,content_type,event_eventid, function_quantity,fee_amount) VALUES (,10134,'function',838, '1','') Function insert info 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 '10136,'function',838, '1','')' at line 2 INSERT INTO cart (user_reg_userid,contentid,content_type,event_eventid, function_quantity,fee_amount) VALUES (,10136,'function',838, '1','') the regid : 0 the sql: INSERT INTO registration(user_reg_userid,event_eventid,date_and_time,primary_regid, entry_mode, adm_id) VALUES (,838,'2015-06-19 11:49:00','0', 'admin',40016)