<!--#include file="conn.asp"-->
<%
order_id=request.form("order_id")
class_info=request.form("class_info")

if order_id="" or class_info="" then 
response.Write("<script language=javascript>alert('ว๋อ๊ี๛ฬ๎ะดลละ๒บอร๛ืึฃกฃก');history.go(-1)</script>")
else

	set rs=server.createobject("adodb.recordset")
	sql="select * from class_info"
	rs.open sql,conn,1,3
	rs.addnew

	rs("order_id")=order_id
	rs("class_info")=class_info
	rs.update

	Response.Redirect "m_class.asp"

end if
%>