title: PHP - how to create a newline character?
body: <p>In PHP I am trying to create a newline character:</p>
  
  <pre><code>echo $clientid;
  echo ' ';
  echo $lastname;
  echo ' ';
  echo '\r\n';
  </code></pre>
  
  <p>Afterwards I open the created file in Notepad and it writes the newline literally:</p>
  
  <blockquote>
    <p>1 John Doe\r\n 1 John Doe\r\n 1 John Doe\r\n</p>
  </blockquote>
  
  <p>I have tried many variations of the <code>\r\n</code>, but none work.  Why isn't the newline turning into a newline?</p>