Headers already sent although no output was sent PHP
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8028957/headers-already-sent-by-php">Headers already sent by PHP</a>  </p>
</blockquote>



<p>this is the piece of code I have:</p>

<pre><code>&lt;?php
/**
 * This file starts the session
 */

/* Start session */
session_start();
</code></pre>

<p>Now obviously, there is no output sent to the browser. Yet I get the error that output was already sent, so I cannot start a new session. Does anyone know why this occurs?</p>
