Peter Davies

Ramblings

fgetcsv to mysql insert statements

We needed a quick way of exporting from a CSV and importing en-mass in to a MySQL table. The following script did just that:

https://gist.github.com/1071669