Skip to content

syednizamudeen/CSVwriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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( '' );

About

Generate CSV using PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages