Basically I have a table and have a coloured table row. This is contained within a do while statement.
Basically if it loops through and finds more than 1 record, I have a 2px coloured row. How can I eliminate this??
<?php do { ?>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr valign="top" bgcolor=00AEEF>
<td colspan="2"><img src="../images/shim.gif" width="100" height="1"></td>
</tr>
<tr valign="top">
<td width="100" rowspan="2"><img src="../images/cfc_directors/<?php echo $row_rsBWDIM['ID']; ?>.jpg" width="100" height="151" alt="<?php echo $row_rsBWDIM['Name']; ?>"></td>
<td><strong><?php echo $row_rsBWDIM['Name']; ?></strong> </td>
</tr>
<tr>
<td valign="top"><p><?php echo $row_rsBWDIM['Description']; ?></p>
<p><strong>Contact Form - Link</strong></p></td>
</tr>
<td colspan="2" bgcolor=00AEEF><img src="../images/shim.gif" width="100" height="1"></td>
</tr>
</table>
<?php } while ($row_rsBWDIM = mysql_fetch_assoc($rsBWDIM)); ?>