帮忙改一小段程序
<%recent=split(session("recent"),"/")
for i=0 to ubound(recent)
hwid=trim(recent(i))
Set rs2=server.CreateObject("adodb.recordset")
rs2.open "select * from product where articleid="&hwid&"",conn,1,3%>
<tr><td height="20" width="180"><a target="_blank" href=views.asp?hw_id=<%=rs2("articleid")%>><%=rs2("title")%></a></td>
<td height="20" width="35" align="center"><a href="basket.asp?hw_id=<%=rs2("articleid")%>">
<img border="0" src="img/buy.gif"></a></td></tr>
<%
next%>
如何将这个改成两列显示我本来定义了j
想用if (j mod 2=0) and j>=2 then
但是程序失败.