Cannot modify header information - headers already sent by in php code
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8028957/warning-headers-already-sent-in-php">“Warning: Headers already sent” in PHP</a>  </p>
</blockquote>



<p>i creat web service for iphone app so that i write some code that fetch data from database and give output in form of XML,but data comes from database with warning " Cannot modify header information - headers already sent by (output started at /home/content/s/o/u/soulcachaca/html/apc.php:1) in /home/content/s/o/u/soulcachaca/html/apc.php on line 3"</p>

<p>i also use <code>ob_start();</code> and <code>ob_end_flush()</code>.</p>

<p>why this error comes ?
somebody give me proper solution to remove this from my code?</p>
