Re: escaping commas for csv output



Michael Fesser wrote:

$fp = fopen('my.csv','a');
$content = "$var1,$var2,$var3...
fwrite($fp,$content);

fputcsv()

Micha

I'm assuming replacing fwrite() with fputcsv().

Was there something else (it did not work)?
.