I have about 14000 rows of comma separated values that I am trying to insert into a sqlite table using PHP PDO, like so:
Start a transaction before the loop and commit it after the loop the way your code is working now, it starts a transaction on every insert