$sql="delete from upload where title='{$fileName}'"
if request("action")="delform" thenid=request("id")
set rs=server.createobject("adodb.recordset")
sql="delete * FROM tousu Where id="&request("id")
rs.open sql,secondconn,1,1
session("reg")="del"
rs.close
end if
set rs=nothing
改成
if request("action")="delform" then
id=request("id")
sql="delete * FROM tousu Where id="&request("id")
secondconn.execute(sql)
session("reg")="del"
end if
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)