Stiebel Eltron
asked on
How to revise the Thank You page using ASP?
Dear EE Experts,
We would like to ask for tech support on how to change this script:
Response.write("Thank You!")
That is from this script:
Set objExec = Conn.Execute(strSQL)
If Err.Number = 0 Then
Response.write("Thank You!")
Else
Response.write("Error Save ["&strSQL&"] ("&Err.Description&")")
End If
Conn.Close()
Set objExec = Nothing
Set Conn = Nothing
%>
We would like to change to:
<h1 align="center">Thank You <% Response.Write(Request.For m("fname") ) + Response.Write(Request.For m("lname") ) %> </h1>
Thank you & hope to hear soon...
We would like to ask for tech support on how to change this script:
Response.write("Thank You!")
That is from this script:
Set objExec = Conn.Execute(strSQL)
If Err.Number = 0 Then
Response.write("Thank You!")
Else
Response.write("Error Save ["&strSQL&"] ("&Err.Description&")")
End If
Conn.Close()
Set objExec = Nothing
Set Conn = Nothing
%>
We would like to change to:
<h1 align="center">Thank You <% Response.Write(Request.For
Thank you & hope to hear soon...
Response.write("<h1 align=""center"">Thank You " & Request.Form("fname")) & " " & Request.Form("lname")) & "</h1>")
ASKER
Hi there Eyal! Nice to hear from you again!
I got this error result:
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/iphoto/asia2/login/signup _result2.a sp, line 23
Response.write("<h1 align=""center"">Thank You " & Request.Form("FName")) & " " & Request.Form("LName")) & "</h1>")
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------^
I got this error result:
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/iphoto/asia2/login/signup
Response.write("<h1 align=""center"">Thank You " & Request.Form("FName")) & " " & Request.Form("LName")) & "</h1>")
--------------------------
try
Response.write("<h1 align=center>Thank You " & Request.Form("fname")) & " " & Request.Form("lname")) & "</h1>")
Response.write("<h1 align=center>Thank You " & Request.Form("fname")) & " " & Request.Form("lname")) & "</h1>")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Still the same:
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/iphoto/asia2/login/signup _result2.a sp, line 26
Response.write("<h1 align=center>Thank You " & Request.Form("fname")) & " " & Request.Form("lname")) & "</h1>")
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/iphoto/asia2/login/signup
Response.write("<h1 align=center>Thank You " & Request.Form("fname")) & " " & Request.Form("lname")) & "</h1>")
Response.write("<h1 align='center'>Thank You " & Request.Form("FName")) & " " & Request.Form("LName") & "</h1>")
Response.write("<h1 align='center'>Thank You " & Request.Form("FName") & " " & Request.Form("LName") & "</h1>")