note 100232 rejected from function.header by danbrown
| From: | danbrown@php.net | Date: | Sun, 03 Oct 2010 22:28:34 +0000 |
| Subject: | note 100232 rejected from function.header by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-172920@lists.php.net to get a copy of this message | ||
Note Submitter: hacker43 dot gaurav at gmail dot com
----
i am getting the warning
Warning: Cannot modify header information - headers already sent by (output started at
C:\xampp\htdocs\projects\myproject\include\header.php:169) in
C:\xampp\htdocs\projects\myproject\test.php on line 9
if someone can help me to fix this error
send me the right code on my mail id
hacker43.gaurav@gmail.com
<?php
session_start();
$sessid=$_SESSION['id'];
include("include/header.php");
$sessid=$_SESSION['id'];
if ($sessid=="")
{
header('Location:signin.php');
}
?>
<tr>
<td>
<table border="0" height="985" width="100%"
bgcolor="#FFFFFF">
<tr>
<td >
<table border="0" height="985" width="620"
align="left">
<tr>
<td valign="top">
<table border="2" width="620px"
height="985px">
<tr>
<td valign="top" style="font-size:18px;
font-weight:bold; line-height:40px;" > <ol>
<li><a href="phpdefination.php">PHP Defination</a>
<ol>
<li><a href="phpinstallation.php">PHP
Installation</a></li>
</ol>
</li>
<li><a href="echoandprint.php">Echo &
Print</a></li>
<li><a href="getandpost.php">Get &
Post</a></li>
<li><a
href="strings.php">Strings</a></li>
<li><a
href="array.php">Array</a></li>
<ol>
<li><a href="numericarray.php">Numeric
Array</a></li>
<li><a
href="associativearray.php">Associative Array</a></li>
<li><a
href="multidimensional.php">Multidimensional Array</a></li>
</ol>
<li><a
href="functions.php">Function</a></li>
<li><a href="forloop.php">For
loop</a></li>
<li><a href="whileloop.php">While
Loop</a></li>
<li><a href="ifelse.php">If
Else</a></li>
<li><a
href="forms.php">Forms</a></li>
</ol>
</li>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td valign="top" >
<?php
include("include/right.php");
?>
</td>
</tr>
</table>
</td></tr>
<?php
include("include/footer.php");
?>
</td>
</tr>
</table>
</body>
</html>