PHP Classes

csvFieldDump: Pull only the fields you want from a csv file.

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 1,073 All time: 3,451 This week: 213Up
Version License Categories
csvfielddump 1.0GNU General Publi...Files and Folders
Description Author

This class can pull only the specified fields from a csv file. you can specify either the field numbers or field names to pull out. Also it can just show you a numbered list of the csv headers.

Also in the class i've added some code at the bottom which allows this class to be used on the command line by passing various flags to it.
if you make the script executable try ./script -h for help.

Picture of Mark Williamson
Name: Mark Williamson <contact>
Classes: 5 packages by
Country: United Kingdom
Age: ???
All time rank: 23513 in United Kingdom
Week rank: 441 Down16 in United Kingdom Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file csvfd.1m Doc. man file for csvfd (csvfielddump)
Plain text file csvfielddump Class class file - and its a php cgi - use ./csvfielddump -h for help

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,073
This week:0
All time:3,451
This week:213Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:50%StarStarStar
Documentation:50%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3075
  
For more information send a message to info at phpclasses dot org.