title: PHP - Export CSV and dealing with quotes
body: <p>I know <code>fputcsv()</code> is the best way for dealing with exporting to CSV, but I'm currently doing a quick modification to a PHP CSV export script, and the client doesn't want to change how it's being handled. (wants it fast!)</p>
  
  <p>So right now, an array of the data is manually being created, each item manually enclosed in double-quotes, and added to the CSV file.</p>
  
  <p>My question is, if you have data which already contains double quotes (i.e. "and he said "Yes""), then whats the best way of dealing with that? The extra quotes seem to break the CSV file.</p>