Databases: csv2sql
Valerio Giuffrida (contact me)
This class can be used to convert CSV (Comma Separated Values) files into SQL INSERT statements.
It can parse a CSV file to extract the field names from the first file line and the data to insert from the remaining lines.
It generates SQL INSERT statements using the field names and data from the parsed CSV file lines.
The list of SQL INSERT statements can be returned as an array or stored in a given output file.
Click here for detailed information about this class on phpclasses.org