Login   Register  
PHP Classes
elePHPant
Icontem

csv2sql

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

  Author  
Picture of Valerio Giuffrida
Name: Valerio Giuffrida <e-mail contact>
Packages: 2 Browse all classes by Valerio Giuffrida Browse all classes by
Country: Italy Italy - PHP jobs in Italy
Age: 25
All time rank: 74327 in Italy Italy
Week rank: 871 Down39 in Italy Italy Down


  Detailed description   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 .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: 1652 users
All time rank: 2104
Week users: 1 user
Week rank: 2150 Down
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
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  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
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 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.