Code:
<%loop link_results%> <%if first%> <%-- set up the opening table --%>
<TABLE>
<TR>
<%endif%>
<TD>
<%include link.html%>
</TD>
<%ifnot row_num % 3%> <%-- close the row --%>
</TR>
<%endif%>
<%if last%> <%-- close the table --%>
<%if row_num % 3 eq 1%> <%-- balance the trailing rows --%>
<TD></TD><TD></TD>
<%endif%>
<%if row_num % 3 eq 2 %> <%-- balance the trailing rows --%>
<TD></TD>
<%endif%>
</tr>
</TABLE>
<%endif%>
<%endloop%>
The idea is there, but it might need some tweaking. Also, I don't know if the complex 'if' will work, if it doesn't, maybe Alex has a suggestion for getting around it.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.