คำตอบของคุณ
<%=request.form("uid")%>
<%=request.form("studentF")%>
<%=request.form("studentL")%>
<br>
คือ <%=request.form("aws1")%>
<br>
<% if request.form("aws1")= "5550" then
response.write("ถูกต้องครับ")
else
response.write("ผิดครับ")
end if %>
<br>
ประเภทแบบทดสอบ <%=request.form("q")%>
<%
set connNews = server.createobject("ADODB.Connection")
connNews.open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
server.mappath("/internetedu/db/data.mdb")
sql = "INSERT into student ( uid, studentF, studentL, aws1, describ ) SELECT
"
sql = sql & " '" & request.form("uid") & "'
as uid, "
sql = sql & " '" & request.form("studentF") &
"' as studentF, "
sql = sql & " '" & request.form("studentL") &
"' as studentL, "
sql = sql & " '" & request.form("aws1") & "'
as aws1, "
sql = sql & " '" & request.form("q") & "'
as describ; "
set rsArticles = connNews.Execute(sql)
connNews.close
set connNews = nothing
%>
<p>
<a href=showdata.asp>บันทึกข้อมูลแล้วดูข้อมูล</a>