mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
@@ -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'), ',');
|
||||||
----------------
|
----------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user