PHP Classes

b3rtCSVReader: Parse CSV files in pure PHP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-12-16 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 477 All time: 5,533 This week: 1,134Up
Version License PHP version Categories  
b3rtcsvreader 1.03BSD License5.0PHP 5, Files and Folders
Description Author  

This class can be used to parse CSV files.

It opens and reads a given CSV file parsing the data in its rows using pure PHP code without using fgetcsv function.

The class reads on record row at a time and returns an array with the values for all columns.

The column separator character is configurable, so it can be a tab or anything besides the default character, which is a comma.

Picture of H. Poort
Name: H. Poort <contact>
Classes: 3 packages by
Country: The Netherlands The Netherlands
Age: ???
All time rank: 116035 in The Netherlands The Netherlands
Week rank: 883 Up25 in The Netherlands The Netherlands Up

  Files folder image Files  
File Role Description
Plain text file class.b3rtCSVReader.php Class Class
Accessible without login Plain text file example.csv Data Example data
Accessible without login Plain text file example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 0%Total:477All time:5,533
 This week:0This week:1,134Up