thers a syntax error here is a snipet of my code. Its something wrong with the endwhilte but i dont know wat is it.
<?php
$row2 = mysql_fetch_array($result);
while($row = mysql_fetch_array($result)){ ?>
<tr id="<?php echo $row['statusid']?>" class="status">
<td><?php echo $row['date']?></td>
<td id="<?php echo$row['statusid']?>" style="text-align:left;" class="editStatus">
<?php echo htmlspecialchars($row['statusTxt'], ENT_QUOTES)?></td>
<td style="width:1%;">
<form action="">
<input type="image" src="img/cancel.png" onclick="makeVariable('<?php echo $row['statusid']?>')" class="deleteRowButton"/>
</form>
</td>
</tr>
<?php $row2 = $row;?>
<?php
}
end while?>
<tr id="<?php echo $row['statusid']?>" class="statusLast">
<td><?php echo $row['date']?></td>
<td id="<?php echo$row['statusid']?>" style="text-align:left;" class="editStatus">
<?php echo htmlspecialchars($row['statusTxt'], ENT_QUOTES)?></td>
<td style="width:1%;">
<form action="">
<input type="image" src="img/cancel.png" onclick="makeVariable('<?php echo $row['statusid']?>')" class="deleteRowButton"/>
</form>
</td>
</tr>
<?php } ?>