永发信息网

asp幻灯片数据库读取图片错误

答案:1  悬赏:80  手机版
解决时间 2021-04-10 19:12
  • 提问者网友:喧嚣尘世
  • 2021-04-10 14:40

<table width="325" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<%sql="select top 5 * from products"
rs.open sql,conn,1,3
do while not rs.eof
'response.Write rs("pic")&"|"
response.Write "admin/upload/"&rs("pic")&"|"
pic="admin/upload/"&rs("pic")&"|"

rs.movenext
loop
rs.close
sql="select top 5 * from products"
rs.open sql,conn,1,3
do while not rs.eof
'response.Write "showproducts.asp&id="&rs("ID")&"|"
id="showproducts.asp&id="&rs("ID")&"|"
rs.movenext
loop
rs.close
sql="select top 5 * from products"
rs.open sql,conn,1,3
do while not rs.eof

'response.Write rs("ming")&"|"
ming=rs("ming")&"|"
rs.movenext
loop

rs.close
%>
<%= ming %>
<SCRIPT type=text/javascript>
<!--

var focus_width=325
var focus_height=300
var text_height=0
var swf_height = focus_height+text_height

var pics='<%= pic %>'
var links='<%= id %>'
var texts='<%= ming %>'

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="images/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');

//-->
</SCRIPT></td>
</tr>
</table>

最佳答案
  • 五星知识达人网友:刀戟声无边
  • 2021-04-10 15:49
1常来网免费空间(TheC.Cn) - 国内最大的免费空间站 ASP动态空间 . PHP静态空间 .支持FTP空间
【注册地址】:
http://web.TheC.Cn/sysweb/RegTrans.aspx?CodeProvider=sky521

【特色介绍】:


『空间无限 永久免费』
免费为您提供无限大的存储空间,足以容纳成千上万甚至上百万计的网页文件,并可永久免费使用!



『域名绑定及转发』
您可以绑定(或转发)自己的域名,还可以将域名绑定(或转发)到子目录!另外赠送xxx.Qyun.Net的免费域名供您使用!



『WEB管理 FTP管理』
通过在线(Web)和FTP两种方式及在线解压/压解等强大功能,可以轻松完成网站发布及维护任务,使文件管理易如反掌!



『多种脚本支持』
支持HTML、ASP、ASP.NET1.0、ASP.NET2.0及PHP多种脚本,使您的选择更加灵活!



『数据库支持』
系统同进支持ACCESS、MSSQL、MYSQL三种数据库,使您的选更加全面,满足您的多种需要!



『组件齐全』
支持FSO、Zend、Jmail、AspJepg等多种流行组件,全面支持,并且不断完善,不断更新,体验更多建站乐趣!
http://web.TheC.Cn/sysweb/RegTrans.aspx?CodeProvider=sky521

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯