PHP Classes
Icontem

Class: csv2sql


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Valerio Giuffrida  >  csv2sql  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: csv2sql Support forum
Base name: csv2sql
Description: Convert CSV files into SQL INSERT statements
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 1335 users
All time rank: 1980
Week users: 1 user
Week rank: 3304
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Valerio Giuffrida
Name: Valerio Giuffrida <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Italy Italy - PHP jobs in Italy
Home page: ???
Age: 21
All time rank: 750
Week rank: 950

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

Detailed description

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.

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

File Role Description
Plain text file csv2sql.class.php Class Class csv2sql
Plain text file example.php Example How to use csv2sql class
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products