查看: 646|回复: 2

Microsoft VBScript 运行时错误 错误 '800a01a8' 缺少对象: '' /1.asp,行 21

[复制链接]
从现在 发表于 2022-3-16 16:28:53 | 显示全部楼层 |阅读模式
<%
<!-- #include file="../inc/conn-bbs.asp" -->


dim rs,sql,modid
dim bbs_account_cash
modid="ttasp"

sql="select * from BBS_User where user_num="& modid &""
set rs=bbsconn.execute(sql)
if not rs.eof then
        user_num=rs("user_num")
        user_name=rs("user_name")
        user_id=rs("user_id")
       
        user_state=rs("user_state")
        login_times=rs("login_times")
        user_password=rs("user_password")
        user_addtime=rs("user_addtime")
        bbs_account_cash=rs("bbs_account_cash")
end if
为啥数据操作错误?谢谢

1.rar

595 Bytes, 下载次数: 1, 下载积分: 威望 1 个

xuanxiao 发表于 2022-3-17 00:48:51 | 显示全部楼层
QQ截图20220317004823.png

数据库连接缺失
 楼主| 从现在 发表于 2022-3-17 07:10:02 | 显示全部楼层
这个我搞定谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表

在线客服

售前咨询
售后咨询
服务热线
023-58418553
微信公众号