在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
<!--#include file="../Conn.asp"--> <% set rs=server.createobject("adodb.recordset") sql="select * from article where bigtypes='我爱你'order by id desc" 找出数据库内类别为我爱你的所有数据 rs.open sql,conn,1,3 if not rs.eof then do while not rs.eof fname = rs("id")&".html" folder = "../html/Info/" c_filepath = folder&fname rs("filepath")=c_filepath rs.update rs.movenext loop end if response.redirect "成功....." %> 解决方法: 复制代码 代码如下: <% set rs=server.createobject("adodb.recordset") sql="select * from article where bigtypes='我爱你'order by id desc" 找出数据库内类别为我爱你的所有数据 rs.open sql,conn,1,3 if not rs.eof then do while not rs.eof fname = rs("id")&".html" folder = "../html/Info/" c_filepath = folder&fname conn.execute("update article set filepath='"&c_filepath&"' where id="&rs("id")) rs.movenext loop end if response.redirect "成功....." %> |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论