Help, Please.
I have an SQL query that I have put into a script that when I
run the whole thing, I get an error that tells me there is a
missing operator. I am working on the book by Jeff Bardzell of
Dreamweaver 8 for ASP etc. I am in the last lesson and I just can't
seem to find my problem. My query is identical to Jeff's I will
include it below and maybe you can tell me what is wrong.
Thanks
<%
Dim description_fixed, imageALT_fixed
description_fixed =
Replace(Request.Form("description"),"'","'")
imageALT_fixed =
Replace(Request.Form("imageALT"),"'","'")
Dim dbConn
set dbConn = server.CreateObject("adodb.connection")
dbConn.open("newland")
dbConn.Execute("UPDATE tbl_country SET region='" &
Request.Form("region") & "', countryName='" &
Request.Form("countryName") & "', population='" &
Request.Form("population") & "', country_currency='" &
Request.Form("country_currency") & "', description='" &
description_fixed & "', imageURL='" &
Request.Form("imageURL") & "', imageALT='" & imageALT_fixed
& "' WHERE countryID=" & Request.QueryString("countryID"))
Response.Redirect("admin_cp_master.asp")
%>