PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2003-09-10 (13 years ago) RSS 2.0 feedStarStar 39%Total: 1,070 All time: 3,357 This week: 1,119Up
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 United Kingdom

  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,070
This week:0
All time:3,357
This week:1,119Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:50%StarStarStar
Documentation:50%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:2708