Crash1hd
05-01-2003, 05:41 AM
I am having trouble getting the name value to show up the value is First_Name
Sub ConfirmRegistration() ''''''''''''''''''''''''
Dim ConfirmQuery
ConfirmQuery = "SELECT userid FROM members WHERE userid = " & confirm
Set rs = Conn.Execute(ConfirmQuery)
If NOT rs.EOF Then
Dim UpdateConfirmedStatus
UpdateConfirmedStatus = "UPDATE members SET confirmed = True WHERE userid = " & confirm
Conn.Execute(UpdateConfirmedStatus)
response.write("<p align=center><b>Thankyou "& (First_Name) & " for registering click <a href=default.asp>here</a> to login</b></p>")
Else
emailfound = False ' The email was not found, they still need to register
End If
End Sub ''''''''''''''''''''''''''''''''''''''''''
not sure how to make it work! this page comes up after someone clicks on a link in an email! in the red
also if there is a way to make the userid changed to username or email if that would be possible so that when the user clicks the link in the email to confirm there subscription its not a number that does the verification but a word! in the blue
Thanks in advance
Sub ConfirmRegistration() ''''''''''''''''''''''''
Dim ConfirmQuery
ConfirmQuery = "SELECT userid FROM members WHERE userid = " & confirm
Set rs = Conn.Execute(ConfirmQuery)
If NOT rs.EOF Then
Dim UpdateConfirmedStatus
UpdateConfirmedStatus = "UPDATE members SET confirmed = True WHERE userid = " & confirm
Conn.Execute(UpdateConfirmedStatus)
response.write("<p align=center><b>Thankyou "& (First_Name) & " for registering click <a href=default.asp>here</a> to login</b></p>")
Else
emailfound = False ' The email was not found, they still need to register
End If
End Sub ''''''''''''''''''''''''''''''''''''''''''
not sure how to make it work! this page comes up after someone clicks on a link in an email! in the red
also if there is a way to make the userid changed to username or email if that would be possible so that when the user clicks the link in the email to confirm there subscription its not a number that does the verification but a word! in the blue
Thanks in advance