**Look at the picture **
I want to see the page without 'Notice:' because here all the result I think works finely. But why does it shows. Any Mistake? Please help me.
The code is like:
<?php
mysql_connect("localhost","root");
mysql_select_db("simple");
$id=$_POST['id'];
$res=mysql_query("SELECT * FROM simple_tb WHERE id=$id");
while($row=mysql_fetch_array($res))
{
?>
<link rel="stylesheet" type="text/css" href="demo.css" media="screen" /></head>
<h1 align="center"> ABC IDEAL SCHOOL AND COLLEGE</h1>
<h3 align="center">Baraiyahat, Chittagong, 01772969874 </h3>
<p align="center">Students Tuetion Fee Payment Sheet<br></p>
<table class="table" align="center"width="800" bgcolor="skyblue">
<tr><td width="25%">ID No:</td><td width="25%"><?php echo $row['id'];?></td></tr>
<tr><td>Name:</td> <td><?php echo $row['n'];?></td></tr>
<tr><td>Class:</td><td><?php echo $row['c'];?></td></tr>
<tr><td>Roll:</td> <td><?php echo $row['r'];?></td></td></tr>
</table>
<br>
<h4 ALIGN="CENTER">PAYMENT STATUS</H4>
<table align="center"width="800" BORDER="1" bgcolor="red">
<tr>
<td align="center"><B>DATES</B></td>
<td align="center"><B>DESCRIPTION</B></td>
<td align="center"><B>MEMO NO</B></td>
<td align="center"><B>BDT</B></td>
<td align="center"><B>Con.Total</B></td>
</tr>
<?php
$res2=mysql_query("SELECT * FROM ac WHERE sid=".$row['id']);
while($row2=mysql_fetch_array($res2))
{ $sum+= $row2['t'];
?>
<tr bgcolor="cream">
<td bgcolor="white"align="center"><?php echo $row2['d'];?></td>
<td bgcolor="white"align="center"><?php echo $row2['des'];?></td>
<td bgcolor="white"align="center"><?php echo $row2['m'];?></td>
<td bgcolor="white"align="center"><?php echo $row2['t'];?></td>
<td bgcolor="white"align="center"><?php echo $sum."<br>";?></td>
<td bgcolor="white"align="center"></td>
</tr>
<?php
}
?></table><?php
}
Now please tell me details what can I do for the written code.