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,075 This week: 1All time: 3,462 This week: 560Up
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: 23613 in United Kingdom
Week rank: 411 Down12 in United Kingdom Up

  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,075
This week:1
All time:3,462
This week:560Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:50%StarStarStar
Documentation:50%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3854