title: How to force the user to download (Save as dialog) the file which just generated?
body: <p>I'm generating a file using the query</p>
  
  <pre><code>SELECT * INTO OUTFILE " . "'c:/myfile.csv'" . " FIELDS TERMINATED BY ','  LINES TERMINATED BY '\n' FROM sample
  </code></pre>
  
  <p>My file is now in C:/myfile.csv.  I want the user to download the file. How can I achieve this?</p>