Login   Register  
PHP Classes

csv2sql: Convert CSV files into SQL INSERT statements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Valerio Giuffrida
Name: Valerio Giuffrida <contact>
Classes: 2 packages by
Country: Italy Italy
Age: 26
All time rank: 75030 in Italy Italy
Week rank: 1044 Down50 in Italy Italy Down

  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Valerio Giuffrida  >  csv2sql  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: csv2sql
Base name: csv2sql
Description: Convert CSV files into SQL INSERT statements
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1729 users
All time rank: 2093
Week users: 0 users
Week rank: 824 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file csv2sql.class.php Class Class csv2sql
Accessible without login Plain text file example.php Example How to use csv2sql class
Accessible without login Plain text file test.csv Data CSV example file

Download Download all files: csv2sql.tar.gz csv2sql.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.