From a3e35822229a36b84f4acaf6d94e208a111f27eb Mon Sep 17 00:00:00 2001 From: William Knauss Date: Wed, 14 May 2014 10:26:32 -0400 Subject: [PATCH] Patch for #5 --- parsecsv.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsecsv.lib.php b/parsecsv.lib.php index badc945..7a6d8f9 100644 --- a/parsecsv.lib.php +++ b/parsecsv.lib.php @@ -70,7 +70,7 @@ class parseCSV { # convert 2D array to csv data and send headers # to browser to treat output as a file and download it $csv = new parseCSV(); - $csv->output (true, 'movies.csv', $array); + $csv->output('movies.csv', $array, array('field 1', 'field 2'), ','); ---------------- */