Write database to CSV file
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2882472/php-send-file-to-user">PHP - send file to user</a>  </p>
</blockquote>



<p>I have written a script that successfully outputs userdata to a CSV file on my server. </p>

<p>My question: is there a way to make the CSV file popup so the user can open it? As is, the only way to open the file is directly from the server.</p>
