add_delete_operate.jsp
资源名称:zyp.rar [点击查看]
上传用户:zdly666
上传日期:2022-08-09
资源大小:6511k
文件大小:0k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@page import="java.util.Date"%>
- <%@page import="java.util.*"%>
- <%@page import="java.text.*"%>
- <%@ include file="conn.jsp" %>
- <%
- String id=new String(request.getParameter("id").getBytes("ISO-8859-1"));
- String condition="delete from users where id='"+id+"'";
- stmt.executeUpdate(condition);
- stmt.close();
- conn.close();
- response.sendRedirect("add_all_slly.jsp");
- %>