Hi Devinemke (sorry to hear about your tv),
Here is the code for that loop...
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr>
<?PHP if ($right_name['Name'] == 'black_spacer.jpg') {
echo '<td><img src="../Images/Transparent_Vert_Spacer.gif"></td>';
} else { ?>
<td colspan="3"><img src="../Images/Top2.jpg" width="267" height="51" /></td>
</tr>
<tr>
<td width="39"><img src="../Images/Left2.jpg" width="50" height="119" /></td>
<?PHP echo '<td width="116"><img src="../Images/' . $right_item['Name'] . '" width="158" height="119" /></td>'; ?>
<td width="44"><img src="../Images/Right2.jpg" width="59" height="119" /></td>
</tr>
<tr>
<td colspan="3"><img src="../Images/Bottom2.jpg" width="267" height="54" /></td>
<?PHP } ?>
</tr>
</table>
What I am doing is this is in another loop, and when that loops gets the last picture (which in this case, I put a spacer image [I originall tried to do a test on an enum field for a "1", since I used a "1" for active, but that did not work]).
I orginally got my code from weedpacket, and I used a transparent gif to display when the left and right columns had different number of items (ie; the left column has 5 images and the right has 4 [9 total). I built a table with a shadow effect around these dynamic images and I am trying to not have a empty table in the right column when there are an odd number of total images).
Make sense?
Thanks,
Don