I need help to solve a error on my form
-
Error Type: Microsoft VBScript compilation (0x800A0401) Expected end of statement /Poonam/login.asp, line 40, column 148 Content = Content & "
Full name: " <% 'Green colorset 'BackgroundColor="#C9DDB3" 'BorderColor="#006600" 'Blue colorset BackgroundColor="#AFD1F8" BorderColor="#000080" 'Purple colorset 'BackgroundColor="#FDC8F2" 'BorderColor="#800080" Content = "" 'Clear the Content string QStr = Request.QueryString("login") 'Save the login querystring to QStr if ucase(left(QStr,6))="CREATE" then Title = "Register" else Title = "Login" end if 'The code below saves the contents the table must have in the variable Content 'The content depends on what's in the QueryString if QStr="passfailed" then Content = Content & "Wrong password
[Back](Javascript:history.go(-1))" elseif QStr="createpassfailed" then Content = Content & "
Wrong password
[Back](Javascript:history.go(-1))
Cancel registration" elseif QStr="namefailed" then Content = Content & "
Invalid username
Click here to create an acount
[Back](Javascript:history.go(-1))" elseif QStr="createnamefailed" then Content = Content & "
Invalid username
[Back](Javascript:history.go(-1))
Cancel registration" elseif QStr="creatednew" then Content = Content & "
Your account has been created
Login" elseif QStr="createnew" then Content = Content & "
" Content = Content & "
Username: " Content = Content & "Password: " Content = Content & " -
Error Type: Microsoft VBScript compilation (0x800A0401) Expected end of statement /Poonam/login.asp, line 40, column 148 Content = Content & "
Full name: " <% 'Green colorset 'BackgroundColor="#C9DDB3" 'BorderColor="#006600" 'Blue colorset BackgroundColor="#AFD1F8" BorderColor="#000080" 'Purple colorset 'BackgroundColor="#FDC8F2" 'BorderColor="#800080" Content = "" 'Clear the Content string QStr = Request.QueryString("login") 'Save the login querystring to QStr if ucase(left(QStr,6))="CREATE" then Title = "Register" else Title = "Login" end if 'The code below saves the contents the table must have in the variable Content 'The content depends on what's in the QueryString if QStr="passfailed" then Content = Content & "Wrong password
[Back](Javascript:history.go(-1))" elseif QStr="createpassfailed" then Content = Content & "
Wrong password
[Back](Javascript:history.go(-1))
Cancel registration" elseif QStr="namefailed" then Content = Content & "
Invalid username
Click here to create an acount
[Back](Javascript:history.go(-1))" elseif QStr="createnamefailed" then Content = Content & "
Invalid username
[Back](Javascript:history.go(-1))
Cancel registration" elseif QStr="creatednew" then Content = Content & "
Your account has been created
Login" elseif QStr="createnew" then Content = Content & "
" Content = Content & "
Username: " Content = Content & "Password: " Content = Content & "You can't wrap stuff over lines like this: Content = Content & " needs closing quotes and a continuation...
-
You can't wrap stuff over lines like this: Content = Content & " needs closing quotes and a continuation...