title: Cant return html string in to browser
body: <p>I have built an html string that is used for 2 purposes: </p>
  
  <ol>
  <li>output to browser </li>
  <li>Send as a fully formatted email.</li>
  </ol>
  
  <p>This script work perfect for sending email but not for outputting the the browser. Here is the basic build:</p>
  
  <pre><code>  function makeformatedmessage(){ 
    $message = '';
    $message .= '
    &lt;html&gt;
    &lt;head&gt;
    &lt;title&gt;Some title&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;';
  
    $message .='complex html body';
    $message .='complex html body 2';
    $message .='&lt;/body&gt;
    &lt;/html&gt;';
  
    return $message;
  
   }
  </code></pre>
  
  <p>When I send this as an email everything is sent but when i output to the browser only   $message .='complex html body 2' part of the message is missing. Is there a better way to store html and output to the browser. </p>
  
  <p><strong>EDITED</strong>
  I descovered through closer debugging that there was a another file with the same function that was been called in the browser. After I removed it it worked as it should.</p>