<html>
<head><title>leave</title></head>
<body>
<table border="1">
<tr>
<th>ID</th>
<th>H_code</th>
<th>MANAGE</th>
</tr>
<?php
include 'header.php';
$q="select leave_id,h_code from leave where status=0";
$result=mysql_query($q) or die("Could not read leave requests from table leave." . mysql_error());
while($row = mysql_fetch_array($result))
{
?>
<tr>
<td><?php echo $row['leave_id'];?></td>
<td><?php echo $row['h_code'];?></td>
<td><a href="approving.php?id=<?php echo $row['leave_id'];?>">
<?php echo "Click to approve"; ?></a></td>
</tr>
}
</table>
</body>
</html> //line 26
the above code keeps returning the following error..
Parse error: syntax error, unexpected $end in line 26
please help me find out whats wrong.