php - Insert multiple rows with one query MySQL - Stack Overflow
In most cases inserting multiple records with one Insert statement is much faster in MySQL than inserting records with for/foreach loop in PHP. Let's assume $column1 and $column2 are arrays with same size posted by html form. You can create your query lik...