View Single Post
Old 04-25-2011, 06:38 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
also if you are looking for a decent csv class to parse csv files, i came across this one the other day, you can specify how many records to parse, etc. so you dont have to load the whole 15meg+ file.

http://code.google.com/p/parsecsv-for-php/

Code:
$csv = new parseCSV();
$csv->auto('data.csv');
$csv->limit = 3;
print_r($csv->data);
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote