title: PHP Line Break not working
body: <p>I am learning php and am making a statement that proves the local variable cannot be called outside a function where it is defined. </p>
  
  <p>I can't seem to get a line break come out in the statement but only a line space.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Testing Global and Local Variables&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;?php 
  
  //Global varaible called after function
  $g_test_string="this is the value in the variable outside the function at a global level!";
  
  function printstring()
  {
  $l_test_string="this is the value of the variable inside the function at a local level!";
  print($l_test_string);
  }
  
  //Calling statements
  
  printstring();
  echo "\r";
  echo 'Global variable value: ' . $g_test_string;
  echo 'Local variable value: ' . $l_test_string;
  
  ?&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The print out looks like this:</p>
  
  <pre><code>this is the value of the variable inside the function at a local level! Global variable value: this is the value in the variable outside the function at a global level! Local variable value:
  </code></pre>
  
  <p>I tried a break between the function call and echo for global variable but only produces a line space not a break.</p>
  
  <p>Got to be something simple I imagine.</p>
  
  <p>Many thanks</p>
  
  <p>Andrew</p>