I got this to work by changing:
<%loop link_results%>
to:
<%loop links_loop%>
I'm using Links SQL 2.05. I'm not sure if this makes a difference.
Here it is for 2 cols. The default seems to be 1 col.
<!--BEGIN 2-COL LINK LOOP-->
BEGIN 2-COL LINKS<BR>
<%loop links_loop%>
<%if first%> <%-- set up the opening table --%>
<TABLE width="70%">
<TR>
<%endif%>
<TD>
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><b><%Title%></b></a><BR>
<%if Description%>
Description: <%Description%><BR>
<%endif%>
</TD>
<%ifnot row_num % 2%> <%-- close the row --%>
</TR>
<%endif%>
<%if last%> <%-- close the table --%>
<%if row_num % 2 eq 1%> <%-- balance the trailing rows --%>
<TD></TD><TD></TD>
<%endif%>
</tr>
</TABLE>
<%endif%>
<%endloop%>
<BR>
END 2-COL LINKS
<!--END 2-COL LINK LOOP-->
Thanks for this nice code, pugdog!!
DogTags
<%loop link_results%>
to:
<%loop links_loop%>
I'm using Links SQL 2.05. I'm not sure if this makes a difference.
Here it is for 2 cols. The default seems to be 1 col.
<!--BEGIN 2-COL LINK LOOP-->
BEGIN 2-COL LINKS<BR>
<%loop links_loop%>
<%if first%> <%-- set up the opening table --%>
<TABLE width="70%">
<TR>
<%endif%>
<TD>
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><b><%Title%></b></a><BR>
<%if Description%>
Description: <%Description%><BR>
<%endif%>
</TD>
<%ifnot row_num % 2%> <%-- close the row --%>
</TR>
<%endif%>
<%if last%> <%-- close the table --%>
<%if row_num % 2 eq 1%> <%-- balance the trailing rows --%>
<TD></TD><TD></TD>
<%endif%>
</tr>
</TABLE>
<%endif%>
<%endloop%>
<BR>
END 2-COL LINKS
<!--END 2-COL LINK LOOP-->
Thanks for this nice code, pugdog!!
DogTags