title: PHP/CSV : how to echo an end of row?
body: <p>I manually echo some data in a .csv file. For each row, I use the following code :</p>
  
  <pre><code>...(some data)."\n";
  </code></pre>
  
  <p>Now, I want to use a form where the user can input the end of row. For instance, if he wants his rows to be ended by "\n", he types : \n in the form.</p>
  
  <p>My problem is how to handle this value in the PHP echo code ?</p>
  
  <p>I've tried .$var, ."$var", I also tried to escape the double quotes, but I can't manage to reach my goal.</p>
  
  <p>Thanks</p>