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
\"
I use tricky way to remove double quote, but only in Linux
.... fputcsv($fp, $product_data,"\t"); .... shell_exec('sed -i \'s/"//g\' /path/to/your-file.txt ');