吸脂眼袋的危害:各位大侠救救命,ASP分行分列不出效果呀

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/08 05:17:46
<%
do while not rs.EOF
if cint(j) =< 1 then j=1

%>
<TD height=25><img height=170 src="<%=rs("img")%>" width=239 border=0></TD>

<%
rs.movenext
j=j+1
loop
%>
<% if j mod 3 = 0 then %>
</tr>
<% end if %>
结果是光列循环了,行没循环
不知道怎么写了?

<%
j = 1
do while not rs.EOF
%>
<TD height=25><img height=170 src="<%=rs("img")%>" width=239 border=0></TD>
<%
if j mod 3 = 0 then response.write "<tr>"
j = j + 1
rs.movenext
loop
%>

看不懂

<%
do while not rs.EOF
if cint(j) =< 1 then j=1

%>
<TD height=25><img height=170 src="<%=rs("img")%>" width=239 border=0></TD>

<%
rs.movenext
j=j+1
if j mod 3 = 0 then %>
</tr><tr>
<% end if
loop
%>