in reply to Re: csv output
in thread csv output

You at least put some effort into this answer, but your code is not sufficient to produce valid output if, for instance, the contents of a field was just a double-quotation mark.