PHP Classes

CSV Importer: Import data from a CSV file into a MySQL table

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 4,763 All time: 576 This week: 43Up
Version License PHP version Categories
csv-importer 1.0Public Domain4.0Databases, Files and Folders
Description 

Author

This class can be used to import data from a CSV file into a MySQL database table.

It parses a given CSV file to extract data that is inserted in a given MySQL database.

The class may also truncate the MySQL table to remove all data previously inserted in it.

Picture of Ruben Crespo
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

 

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file Conn.Config.php Conf. Example´s Connection Config File
Accessible without login Plain text file example.php Example Example File
Plain text file CSVImporterClass.php Class CSVImporter class file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,763
This week:0
All time:576
This week:43Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2934