... as far as I know, you have to code;
dim email 'which sets of memory for the name email to hold a value
...
email = Request.form("email") 'if your form says
post
or
email = Request.querystring("email") 'if your form says
get
...
sql = "SELECT * FROM tblUsers WHERE Email = '" & email & "'
' the variable
email now holds the value from the form field and in your sql you says «open all from tabell users, where the field email holds the value of the form field
email»
but according to your code in the fora, it looks as this is known to you?! I am not sure aboat the
trim which removes any space from a string. It maight be better to place it somwhere else in your code. What about
dim email
email = trim(email)
this is as far as my knowledge goes. When it comes to the connection-object later in your code, I am not sure. I do leave the baton to the next reader...
Med vennlig hilsen
grstad
PS. The @email, I ask again, what is it? It do not hold any value and in the code it is read as a variable. Does it correspond to any scrip sending emails from within a script? Have you cut it out from somewhere? In the moment @email is read, it must have some