Voting

: seven plus zero?
(Example: nine)

The Note You're Voting On

julian at polygon dot red
4 years ago
If you do not want to enclose strings (because you're managing that yourself or your content is already enclosed?), note that you cannot pass an empty enclosure to fputcsv. The function requires one character for that parameter. chr(0) works well:

fputcsv($handle, $fields, ",", chr(0));

<< Back to user notes page

To Top