PHP Classes

File Importer: Import data from CSV files into a MySQL database

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,169 All time: 1,799 This week: 174Up
Version License PHP version Categories
fileimporter 1.0.0BSD License5.0PHP 5, Databases, Files and Folders
Description Author

This clss can be used to import data from CSV files into a MySQL database.

It can open a CSV file and read its data to insert in a given MySQL database table.

The class supports both tab and comma separated CSV files.

Picture of Md. Kausar Alam
Name: Md. Kausar Alam <contact>
Classes: 3 packages by
Country: Bangladesh Bangladesh
Age: 38
All time rank: 96914 in Bangladesh Bangladesh
Week rank: 484 Up12 in Bangladesh Bangladesh Up

*									*
*			 FileImporter class				*
*		     Author : Md. Kausar Alam				*
*		   Email  :			*
*									*
*									*
*									*

	Import file into database table 

	This class used to import txt file into database table.When any text file is imported successfully this means file is uploaded into a temp dir.Then open
the text file from temp dir and read the contents from this file.Insert all datas into a table.After inserting all
datas of text file into table , text file will be removed from temp dir.

	1. PHP5
	2. only txt file is permitted to import
	3. support tab and comma delimiter

sample.php is an example file.let can be checked how install this class.
  Files folder image Files  
File Role Description
Plain text file fileImporter.class.php Class fileImporter class used to import text file into database table
Accessible without login Plain text file readme.txt Doc. documents are explained this file
Accessible without login Plain text file sample.php Example example file of fileImporter class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,799
This week:174Up
For more information send a message to info at phpclasses dot org.