bolstad/csv-writer

Simple system for writing an array to CSV row by row

0.2 2016-12-05 12:45 UTC

This package is not auto-updated.

Last update: 2024-10-26 16:47:02 UTC


README

Simple system for writing an array to CSV row by row

date_default_timezone_set('Europe/Stockholm');

$ding = new CsvWriter\SimpleCsvWrite('out.csv','data/');
$demo = array('id'=>1,'name'=>'A nice name','city'=>'location');
$ding->writeCsv($demo);