tns123j
12-12-2004, 07:08 PM
I have a list of 26 NBA teams inserted from a DB. The problem is they list dynamically all the way down. I want the 1st 13 in 1 column and the the rest in the 2nd column.
<table width="50%" border="0" align="center" cellpadding="4" cellspacing="2">
<tr bordercolor="333333" bgcolor="#333399">
<th colspan="2"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">NBA
Teams </font></th>
</tr>
<% Do Until getProducts.EOF %>
<tr bordercolor="999999" bgcolor="EEEEEE">
<td width="50%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="product01.asp?cat=<%=getProducts("pCategory")%>"><%=getProducts("pCategory")%></a></font></td>
<td width="50%"></td>
</tr>
<% getProducts.MoveNext
Loop %>
</table>
<table width="50%" border="0" align="center" cellpadding="4" cellspacing="2">
<tr bordercolor="333333" bgcolor="#333399">
<th colspan="2"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">NBA
Teams </font></th>
</tr>
<% Do Until getProducts.EOF %>
<tr bordercolor="999999" bgcolor="EEEEEE">
<td width="50%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="product01.asp?cat=<%=getProducts("pCategory")%>"><%=getProducts("pCategory")%></a></font></td>
<td width="50%"></td>
</tr>
<% getProducts.MoveNext
Loop %>
</table>