后台上传图片,前台显示问题【求助】
<%Set rs = Server.CreateObject("ADODB.Recordset")strsql="SELECT top 6 newid,bt,imagesid FROM xwtp where leibie='大千世界' ORDER BY newid desc"
rs.Open strsql,conn,1
'response.write rs("imagesid")
%>
<table width="363" height="20" border="0" cellpadding="0" cellspacing="1" bordercolorlight="#000000" bordercolordark="#FFFFFF" class="unnamed1">
<%do while not rs.eof%>
<tr bgcolor="#FFFFFF">
<td height="95" width="132"> <img src="../../xw/showimg.asp?id=<%=rs("imagesid")%>" width="122" height="95">
<%
rs.movenext%>
</td>
<td width="314" height="20" class="2">
<div align="left">
<%if not rs.eof then%>
<img src="../../xw/showimg.asp?id=<%=rs("imagesid")%>" width="122" height="95">
<%end if%>
</div></td>
<td width="315" height="20" class="2">
<div align="left">
<%rs.movenext%>
<%if not rs.eof then%>
<img src="../../xw/showimg.asp?id=<%=rs("imagesid")%>" width="122" height="95">
<%end if%>
</div></td>
</tr>
<tr bgcolor="#999999">
<td height="1" colspan="3"> </td>
</tr>
<% rs.movenext
loop
rs.close
set conn=nothing%>
</table>