From 9c6e0d64cf74d105d937147d06b5fbc2c5a522f0 Mon Sep 17 00:00:00 2001 From: repat Date: Tue, 5 May 2015 10:42:12 +0200 Subject: [PATCH] double array at save() sic, see code example on line 68 https://github.com/parsecsv/parsecsv-for-php/blob/master/parsecsv.lib.php#L68 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c27b34..6a4d219 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ _Only recommended when you know the extact structure of the file._ ```php $csv = new parseCSV(); -$csv->save('data.csv', array('1986', 'Home', 'Nowhere', ''), true); +$csv->save('data.csv', array(array('1986', 'Home', 'Nowhere', '')), true); ``` **Convert 2D array to csv data and send headers to browser to treat output as