fgetcsv to mysql insert statements

Written by Peter Davies on .

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: