title: Issues downloading MySQL as a CSV
body: <p>I am having trouble outputting a mysql database into a csv file and downloading it. The bellow code produces the error <code>"unexpected T_CONSTANT_ENCAPSED_STRING"</code> on the 3rd line bellow. I have tried it with semicolons and without on the 3rd and 4th lines.</p>
  
  <pre><code>$FileName = "/googleresearch" .  abs(rand(0,1000000000000))  .  ".csv";
  
  $query = "SELECT * FROM happyturtle INTO OUTFILE $FileName;
  FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"';
  LINES TERMINATED BY '\n'";
  
  $result = mysql_query($query) or die(mysql_error());
  
  exit;
  </code></pre>