CNET中国旗舰网站

ZDNet China | CNET科技资讯网 | 政府采购 | 行业网站联盟





 
标题: [求助] 数据读取问题
幽冥暗月
灵玉会员
Rank: 8Rank: 8



UID 307539
精华 2
积分 7763
帖子 829
威望 3558
ZD币 1087 元
阅读权限 180
注册 2008-3-14
状态 离线
  楼主
发表于 2008-4-23 13:27  资料  个人空间  短消息  加为好友 
开发者在线

数据读取问题

articleid=request("id")   
        set   rs=server.createobject("adodb.recordset")   
        sql="update   kzjrning   set   hits=hits+"&hit&"   where   articleID=articleid"   
        rs.open   sql,conn,1,3   
        sql="select   *   from   kzjrning   where   nolook=0   and   articleID=articleid   "   
        rs.open   sql,conn,1,1   
        title=rs("title")   
        ittype=rs("typeid")   
  提示没有错,,但是显示的时候为什么就是同一个数据呢,就是说,title,typeid一样,但传递过来的id   在变   
  在线等,谢谢高手拉




顶部
热点频道推荐: C/S开发| 数据库| WEB开发| 嵌入式| 项目管理|
 



当前时区 GMT+8, 现在时间是 2009-1-10 11:13

  Powered by Discuz! 5.5.0 © 2001-2007 Comsenz Inc.
Processed in 0.114389 second(s), 3/3 queries

清除 Cookies - 联系我们 - ZDNetChina中文社区 - 无图版