I have this code :
<%
dim nome
dim coment
coment = request.form("com"
nome = request.form("nome"
id = request.querystring("id"
Set conn = Server.CreateObject("ADODB.connection"
strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("db/opiniao.mdb"
conn.open strcon
strOpin = "insert into coments (Nome,Coment) values ('"&nome&"','"&coment&"') where idopiniao="&id;"
conn.execute(strOpin)
%>
this is what's happening
for the first time the browser gave me an error saying that (
is missing at the end of instruction, and now that the (
is there it tells me "expected end of instruction", can someone tell me what's wrong?
Thanks in advance
Herminio, Portugal
<%
dim nome
dim coment
coment = request.form("com"
nome = request.form("nome"
id = request.querystring("id"
Set conn = Server.CreateObject("ADODB.connection"
strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("db/opiniao.mdb"
conn.open strcon
strOpin = "insert into coments (Nome,Coment) values ('"&nome&"','"&coment&"') where idopiniao="&id;"
conn.execute(strOpin)
%>
this is what's happening
for the first time the browser gave me an error saying that (
Thanks in advance
Herminio, Portugal