Page Redirection problem in php
<p>I want to redirect from login page to my main page using php.
I use the following line of code: <code>header('location:index.php');</code>
inspite of redirection i received the error like:</p>

<pre><code>Warning: Cannot modify header information -
headers already sent by (output started at C:\wamp\www\student\login.php:18)
in C:\wamp\www\student\login.php on line 19
</code></pre>
