How to insert multiple rows from array using CodeIgniter framework?
Asked 07 September, 2021
Viewed 2.1K times
  • 52
Votes

I'm passing a large dataset into a MySQL table via PHP using insert commands and I'm wondering if it's possible to insert approximately 1000 rows at a time via a query other than appending each value on the end of a mile-long string and then executing it. I am using the CodeIgniter framework so its functions are also available to me.

13 Answer