Login   Register  
PHP Classes
elePHPant
Icontem

CSV Iterator: Manipulate data in CSV files as if they are arrays

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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-07-08 (5 years ago) RSS 2.0 feedStarStarStar 50%Total: 1,033 All time: 3,292 This week: 1,384Up
Version License PHP version Categories  
csviterator 0.5MIT/X Consortium License5.0PHP 5, Files and Folders, Data types
Description Author  

This class can be used to manipulate data in CSV files as if they are arrays.

It can parse and write CSV files when a class object is accessed with array manipulation functions.

Innovation Award  
PHP Programming Innovation award nominee
July 2009
Number 6


Prize: One year subscription to the PDF edition of the JSMag magazine
Often applications need to retrieve or update data in files that can be used by spreadsheet like applications. CSV is a common format that can be used for exchanging simple spreadsheet information.

PHP has built-in functions to read and write data from CSV files, but this class provides a simpler solution to read or writing CSV files.

It provides an interface that lets you handle CSV data rows and columns as arrays, so you can use regular PHP array syntax and functions to access CSV data.

Manuel Lemos
Picture of Sam Shull
Name: Sam Shull <contact>
Classes: 9 packages by
Country: United States United States
Age: 38
All time rank: 36940 in United States United States
Week rank: 613 Down57 in United States United States Down
Innovation award
Innovation award
Nominee: 8x

  Files folder image Files  
File Role Description
Accessible without login Plain text file CSVIterator.php Class The class file
Accessible without login Plain text file CSVIterator_test.php Example An example usage
Plain text file streamfunctions.php Aux. A series of support functions

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,033All time:3,292
 This week:0This week:1,384Up
User Ratings User Comments (1)  
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:1560
 
Thats a very good and useful class !! lol
5 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar