相关代码 |
|
id=request("id") page=request("page") id=Replace(id," ","") if id="" then Response.Write("alert('您没有选择000!');history.back();") Response.End() end if set rs1=server.CreateObject("adodb.recordset") str="select * from zm_p where id="&id rs1.open str,conn,1,3 rs1("c")=0 rs1.update response.Write("window.location.href='manage_type.asp';alert('栏目已修改成功!');") Response.Redirect("p_list.asp?page="&page) %>