/php-csv2mysql

A standalone script to convert CSV files to importable MySQL files.

Primary LanguagePHP

csv2mysql for PHP#

Creates an importable MySQL file from a CSV file.

Usage

Put the CSV file in the bin folder. From command line:

php csv2mysql.php [input.csv] [output.sql] [database]

The script doesn't actually do anything to your database, but the importable file will need to know the destination database and table.