Login   Register  
PHP Classes
elePHPant
Icontem

csv_bv: Retrieve data from CSV files (Ms Excel too)

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-15 (8 years ago) RSS 2.0 feedStarStarStar 55%Total: 2,991 This week: 1All time: 1,132 This week: 1,547Down
Version Licenses Categories  
csv_bv 1.0.0BSD License, GNU Lesser...Files and Folders
Description Author  

This class can be used to parse and retrieve data from CSV files either in the standard or MS Excel format.

Two methods are provided to either process the file a line at a time or return the whole csv file as an array

It can:

- Handle line breaks within quoted fields
- Support different character separator (usually a comma or semicolon) in quoted fields
- Optionally remove leading and trailing white spaces and tabs
- Optionally skip empty rows
- Support Windows and Unix line breaks (care must be taken with Macintosh format)
- Remove escape characters

Picture of Ben Vautier
Name: Ben Vautier <contact>
Classes: 2 packages by
Country: Australia Australia
Age: 36
All time rank: 86613 in Australia Australia
Week rank: 1145 Down14 in Australia Australia Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file class.csv_bv.php Class main CSV parser class
Plain text file example.php Example Simple example
Plain text file test.csv Data csv test file

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,991All time:1,132
 This week:1This week:1,547Down
User Ratings User Comments (2)  
 All time
Utility:78%StarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:-
Examples:78%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1203
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar
The code is very professionally commented.
6 years ago (Mike D.)
70%StarStarStarStar