title: how can I implement a line break in a variable in php?
body: <p>Sorry, I am a php beginner. I'd like to have a line break </p>
  
  <pre><code>$a = "apple \r\n orange \r\n banana";
  </code></pre>
  
  <p>display</p>
  
  <pre><code>echo $a;
  </code></pre>
  
  <p>This does not do the line breaks. I followed some of the answers already given and really the above should work. Why doesn't it? How can I make this come out like:</p>
  
  <p>apple</p>
  
  <p>orange</p>
  
  <p>banana</p>