









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










& strlname & "' AS LNAME, '"_ & stradd & "' AS ADDRESS, '"_ & strcity & "' AS CITY, '"_ & strstate & "' AS STATE, '"_ & strzip & "' AS ZIP, '"_ & strphone & "' AS PHONE, '"_ & stremail & "' AS EMAIL, '"_ & strpword & "' AS PASSWORD ;"
oConn.Execute(strSQLStatement)
%@ LANGUAGE="VBSCRIPT" %>-- again we declare the code and include the adovbs.inc file
<%stremail = cStr(Request.Form("txtemail")) here we create a new variable that captures the value from the textbox from the previous page %>
<% Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "carldb" strsql = "SELECT * from REGISTRATION where EMAIL like '"&stremail&"';"
response.write strsql&"
" set oRs = Conn.Execute(strsql) oRs.MoveFirst %> -- Notice this is the same ASP code from the query page, where we create a DB connection, open it, and then use SQL syntax to find a match to the input from the textbox from page one
Enter Your Personal Information