asp后台调用图片自动换行
后台调用图片只能显示一行,请高手帮忙,看看能否改成显示三行,每行五个。郁闷很长时间了这是代码
sub comp()%>
<TABLE border=0 height=68 width="100%" cellpadding=0>
<tr>
<%dim v
set rst_p=server.createobject("adodb.recordset")
sqltj_a="select top 5 username,com,logo from com where yz=1 and logo<>'' and vip=1 order by lastdl desc,ID desc"
rst_p.open sqltj_a,conn,1,1
while not rst_p.eof and not rst_p.bof
for v=0 to 5
if rst_p.eof then
exit for
end if%>
<td align="center" valign="top">
<a title="<%=rst_p("com")%>" href="com.asp?m=<%=rst_p("username")%>">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.
flash/swflash.cab#version=6,0,29,0" width="120" height="90">
<param name="movie" value="img/swfoto.swf?image=<%=rst_p("logo")%>">
<embed src="img/swfoto.swf?image=<%=rst_p("logo")%>"
width="120" height="90"
pluginspage="http://www.
type="application/x-shockwave-flash"></embed>
</object>
<br><u>
<%=left(rst_p("com"),10)%></u></a>
</td><%
rst_p.movenext
next %>
<tr><td align="center" colspan=6 bgcolor="#F2F2F2">
</td></tr><%
wend
rst_p.close
set rst_p=nothing
%>
</TABLE>