27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@include file="/include/db/db_connect.jsp"%>
|
|
<%@include file="/include/function/function.jsp"%>
|
|
<%request.setCharacterEncoding("utf-8");%>
|
|
<%
|
|
|
|
String c_home = r_call(request.getParameter("c_home"));
|
|
String c_project_no = r_call(request.getParameter("c_project_no"));
|
|
|
|
String c_name = r_call(request.getParameter("c_name"));
|
|
String c_ji_no = r_call(request.getParameter("c_ji_no"));
|
|
String c_part = r_call(request.getParameter("c_part"));
|
|
String c_content = r_call2(request.getParameter("c_content"));
|
|
|
|
String sql_ok = "";
|
|
sql_ok = "insert into tbl_point_project (c_home,c_maker,c_project_no, c_name,c_ji_no,c_part,c_content,c_now,c_use,c_date) values(";
|
|
sql_ok = sql_ok + c_home + ",0,"+ c_project_no +",'" + c_name + "',"+ c_ji_no +","+ c_part +",'"+ c_content +"',0,0,now())";
|
|
stmt2.execute(sql_ok);
|
|
%>
|
|
<script>
|
|
alert("Insert OK");
|
|
parent.location.href="list.jsp?c_home=<%=c_home%>&c_project_no=<%=c_project_no%>"
|
|
</script>
|
|
<%
|
|
|
|
%>
|
|
<%@include file="/include/db/db_close.jsp"%> |