codice:
testo=replace(request.form("testo"), "'", "''")
ho usato questo e in effetti non mi da errore ma... mi raddoppia ciò che scrivo nel form corrispondente!!

posto tutto il codice per chiarezza:

codice:

<%
artista_gruppo=Request.Form("artista_gruppo")
artista_gruppo=replace(request.form("artista_gruppo"), "'", "''")
titolo_album=Request.Form("titolo_album")
titolo_album=replace(request.form("titolo_album"), "'", "''")
anno=Request.Form("anno")
genere=Request.Form("genere")
genere=replace(request.form("genere"), "'", "''")
autore=Request.Form("autore")
autore=replace(request.form("autore"), "'", "''")
voto=Request.Form("voto")
testo=Request.Form("testo")
testo=replace(request.form("testo"), "'", "''")
SQL = "INSERT INTO dati_magazine (artista_gruppo,titolo_album,anno,genere,autore,voto,testo)"
SQL = SQL&"VALUES('"&artista_gruppo&"','"&titolo_album&"','"&anno&"','"&genere&"','"&autore&"','"&voto&"','"&testo&"')"
Conn.Execute(SQL)
Response.Redirect "indicemagazineprovalink.asp"
%>