I have this codes in my ASP file. What I'm trying to do is to check whether the record submitted form a form exists in the database or not. If it exists, then I will be directed to another page.
<%
strStuff = Request.Form("Stuff")
.....
If strStuff = [a record in the database] Then
Response.Redirect "record_exists.asp?ID=strStuff"
End If
%>
My question is, what is the correct syntax for the Response.Redirect parameter? I know the error is in the "ID=strStuff" but I have no idea how to fix that.
Can anyone help?