title: Convert enter key to space in php?
body: <p>I have this string :</p>
  
  <pre><code>$msg = 'A:1509 B:54
  1.NS:22
  2.TR:56
  3.MD:547
  4.STS:22
  5.SR:15 ';
  </code></pre>
  
  <p>it would show normal horizontal string. but the variable separated by enter key.... 
  how to convert the enter key to space. thanks</p>