mysql insert is inserting more than one code example
Example: mysql best way to insert many rows
INSERT INTO table_name(id,colname) values(1,"row 1"),(2, "row 2"),...;
INSERT INTO table_name(id,colname) values(1,"row 1"),(2, "row 2"),...;