[求助]图片显示的问题.
帮我看一下有什么问题,我是想做一个图片浏览的页面,可是现在只能显示一张.
<%
sql="select * from pic where pic_path<>'' order by id DESC"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.bof and rs.eof then
%>
<tr><td>没有图片</td></tr>
<% else %>
<% for i=1 to 4 %>
<tr>
<% for j=1 to 3 %>
<td align="center" valign=middle><img border="0" src="<% =rs("pic_path") %>" width="180" height="145" align="middle"></td>
<%
rs.movenext
if rs.eof then
exit for
end if
next
%>
</tr>
<%
if rs.eof then
exit for
end if
next
%>
<% end if %>