Is there a native function or solid class/library for writing an array as a line in a CSV file without enclosures? fputcsv will default to \" if no
fputcsv
\"
Well car(0) didn't work out as the NULL value will most likely choke most csv parsers.
car(0)
NULL
I ended using fputcsv() to build the initial file, then went through and removed all quotes. Elegant? Maybe not, but it got the job done :).
fputcsv()