主题:请各位高手大哥给我加个翻页好不好,求你了~!
<table width="100%" border="0">
<tr>
<%for i=0 to rs1.recordcount%>
<td width="25%" align="center" valign="bottom"> <a href="product_cn.asp?id=<%= rs1("id")%>"><img src="products_img/<%= rs1("small_img") %>" width="120" height="120" border=0><br>
</td>
<%b=a mod 4
if b=0 then%>
</tr>
<tr>
<%end if%>
<%rs1.movenext
if rs1.eof then
exit for%>
</tr>
<%end if%>
<%a=a+1
next
%>
</table>
<tr>
<%for i=0 to rs1.recordcount%>
<td width="25%" align="center" valign="bottom"> <a href="product_cn.asp?id=<%= rs1("id")%>"><img src="products_img/<%= rs1("small_img") %>" width="120" height="120" border=0><br>
</td>
<%b=a mod 4
if b=0 then%>
</tr>
<tr>
<%end if%>
<%rs1.movenext
if rs1.eof then
exit for%>
</tr>
<%end if%>
<%a=a+1
next
%>
</table>