Using Data from csv file
Posted: Mon Oct 08, 2007 7:20 am
How do I get data from a csv file, if the fields have commas in them?
right now, i have:
$sep=',';
list($col_1,$col_2) = explode($sep, $line);
but that splits up fields with commas
thanks
right now, i have:
$sep=',';
list($col_1,$col_2) = explode($sep, $line);
but that splits up fields with commas
thanks