Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 448 Bytes

README.md

File metadata and controls

17 lines (16 loc) · 448 Bytes

CSVwriter

CSV Writer with UTF-8 and null enclosures

Usage

Simplified

$csv = new CSVwriter('filename.csv');
$csv->save( array( array('Monday', 'Tuesday', 'Wednesday'), array('Thursday','Friday') ) );

Advanced

$csv = new CSVwriter('filename.csv');
$csv->save( array( array('Monday', 'Tuesday', 'Wednesday'), array('Thursday','Friday') ) );
$csv->setUseBOM( TRUE );
$csv->setDelimiter( ',' );
$csv->setEnclosure( '' );