bbs4/delete.jsp
페이지 정보
본문
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/include/header.jsp" %>
<%
String code=request.getParameter("code");
String uid=request.getParameter("uid");
//디비 삭제
String sql="delete from "+code+" where uid="+uid;
Connection conn=DriverManager.getConnection(url, user, password);
Statement stmt=conn.createStatement();
stmt.executeUpdate(sql);
stmt.close();
conn.close();
response.sendRedirect("list.jsp?code="+code);
%>
추천0
- 이전글bbs4/update.jsp 23.03.17
- 다음글bbs4/reply.jsp 23.03.17
댓글목록
등록된 댓글이 없습니다.