I am finishing a login page on a site and when a new user goes to create a new account i get an asp syntax error like this:
Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/Register.asp, line 25, column 73
the code on line 25 column 73 is this:
sSQL = "Insert into admin (Firstname,lastname,username,password) Values" & _
"('"& Ucase(Request("firstname")) & "', '"& Request("lastname") & "', '"& //COLUMN73 IS THE 1ST & TO THE LEFT OF THIS COMMENT
Request("userid") & "', '" & Request("password") & "')"
conn.Execute sSQL,adCmdText
COLUMN 73 IS NOTED Please forgive this newbie for what is probably a basic error.
just so you know this asp is to create a new user account for a site where all usernames and passwords are stored in an access db. all else seems to be fuctioning and if I create the user account manually in access the user can authenticate.
if you need more info let me know. TIA
[This message was edited by unload on January 20, 2002 at 20:57.]
Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/Register.asp, line 25, column 73
the code on line 25 column 73 is this:
sSQL = "Insert into admin (Firstname,lastname,username,password) Values" & _
"('"& Ucase(Request("firstname")) & "', '"& Request("lastname") & "', '"& //COLUMN73 IS THE 1ST & TO THE LEFT OF THIS COMMENT
Request("userid") & "', '" & Request("password") & "')"
conn.Execute sSQL,adCmdText
COLUMN 73 IS NOTED Please forgive this newbie for what is probably a basic error.
just so you know this asp is to create a new user account for a site where all usernames and passwords are stored in an access db. all else seems to be fuctioning and if I create the user account manually in access the user can authenticate.
if you need more info let me know. TIA
[This message was edited by unload on January 20, 2002 at 20:57.]