/ Published in: PHP
Very simple & short code snippet which is very useful at many places to generate CSV files.
Usage :
$data = array( array(1, 2, 4), array('test string', 'test, literal, comma', 'test literal "quotes"'), );
echo generateCsv($data);
Expand |
Embed | Plain Text
You need to login to post a comment.
