求助,循环图片问题
#include virtual="/news/Include/Function.config"-->
<%
call DBConnbegin()
set rs=myconn.execute("SELECT TOP 20 * FROM Infos WHERE (MDate BETWEEN '2001-5-1' AND '2009-5-31') ORDER BY Hits
DESC")
%>
<% for i=1 to 20 %>
<% do while not rs.eof %>
document.write("<p class=hang><img src=../images/shuzi&<%=i%>.jpg> <A href=http://news.(rs
("FileName"),"../","")%> target=_blank><%=left(rs("Title"),20)%><</a></p>");
<%
rs.movenext
loop
rs.close
%>
<%next%>
我想循环<img src=../images/shuzi&<%=i%>.jpg>可是不行啊