Login   Register  
PHP Classes
elePHPant
Icontem

CSV Reader: Parse a CSV file and its data rows

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

  Author Author  
Picture of Nicolas BUI
Name: Nicolas BUI <e-mail contact>
Packages: 1 Browse all classes by Nicolas BUI Browse all classes by
Country: France France - PHP jobs in France
Age: ???
All time rank: 58126 in France France
Week rank: 1298 Down36 in France France Down


  Detailed description   Download Download .zip .tar.gz  
This class can parse CSV files and extract the data in their rows implementing a Reader interface similar to what exists for Java.

It provides a line per line extraction for efficient processing.

Features :

- Support standard CSV features
- A cell containing special caracters must be surrounded by ".
- Inserting a " can be done throught escaping ( \" ) or preceding by another double quote ( "" )
- A cell with new line characters inside must be surrounded by double quote "

  Classes of Nicolas BUI  >  CSV Reader  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CSV Reader
Base name: csvreader
Description: Parse a CSV file and its data rows
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 4581 users
All time rank: 543
Week users: 1 user
Week rank: 1808 Down
 
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Trackback   Applications   Files Files  

  Groups  
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Files folder image Screenshots  
Sample output
File Role Description
Accessible without login Image file csv_sample.gif Screen Sample output


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (86.4%) Sufficient (77.3%) - Sufficient (77.3%) - - Not sure (58.6%) 981
Month: Not yet rated by the users

  Trackback links  
Link Description
External library Download CSVReader (CSV class analysis)...
PHP on a CSV string into an array format -

  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 CSVReader.php Class the main CSVParser class
Plain text file FileReader.php Class a file reader class use with CSVReader to extract data from file
Plain text file FilterReader.php Class Parent class use by CSVReader
Plain text file Reader.php Class Top interface use by FileReader and CSVReader
Plain text file sample.csv Data Sample CSV data file from ferc.gov
Plain text file sample.php Example Sample use

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