Merge pull request #6 from williamknauss/issue-5

Issue 5
This commit is contained in:
William Knauss
2014-05-14 10:29:48 -04:00

View File

@@ -70,7 +70,7 @@ class parseCSV {
# convert 2D array to csv data and send headers # convert 2D array to csv data and send headers
# to browser to treat output as a file and download it # to browser to treat output as a file and download it
$csv = new parseCSV(); $csv = new parseCSV();
$csv->output (true, 'movies.csv', $array); $csv->output('movies.csv', $array, array('field 1', 'field 2'), ',');
---------------- ----------------
*/ */