parseCSV::output( [string] $filename = null, [array] $data = array(), [array] $fields = array(), [type] $delimiter = null )

Output Generate a CSV based string for output.


Description Description


Parameters Parameters

$filename

(Optional) If specified, headers and data will be output directly to browser as a downloable file

Default value: null

$data

(Optional) 2D array with data

Default value: array()

$fields

(Optional) Field names

Default value: array()

$delimiter

(Optional) delimiter used to separate data

Default value: null


Top ↑

Return Return

([string])


Top ↑

Source Source

File: includes/libraries/parsecsv.lib.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.