title: The difference between \n and <br /> in php
body: <p>I was studying php with tutorial. I recognized that in php <br /> is sometimes use like this</p>
  
  <pre><code>echo $myString."&lt;br /&gt;"
  </code></pre>
  
  <p>Suddenly, there came another in the tutorial "\n" and I got confused. Can I use it just like I use</p>
  
  <pre><code>&lt;br /&gt;
  </code></pre>
  
  <p>?</p>
  
  <p>So like this?</p>
  
  <pre><code>echo $mySting."\n"
  </code></pre>
  
  <p>Is it like a html tag?
  What's the difference between</p>
  
  <pre><code>&lt;br /&gt; and \n?
  </code></pre>