Ciao a tutti,
Inserendo il testo nel db usando questo script:

codice:
<html> 
<head> 
<title>inserimento</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link href="../../../Nuovo%20sito%20Agenzia/css/file.css" rel="stylesheet" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
<link href="../ilproverbio.css" rel="stylesheet" type="text/css">
</head> 
<%

  testo = request.Form("testo")



  set conn = Server.CreateObject("ADODB.Connection")
  conn.Open"driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath("/mdb-database/ilproverbio.mdb")

  qryStr = "INSERT INTO contatti (testo) VALUES ('"&testo&"')"

  conn.Execute(qryStr)

  msg = "Pagina aggiornata clicca qiu per verificare"

  conn.close

  set conn=nothing


%>

<html>
<head>
<title>inserimento</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../ilproverbio.css" rel="stylesheet" type="text/css">
</head>

<body background="../jeweled.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center"><span class="testo"></span> 
  <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td><div align="center"><%=msg%></div></td>
    </tr>
  </table>
  <span class="testo"></span> </div>
</body>
</html>
mi da errore, dicendomi che:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression ''Testo da inserire con un apostrofo qui' ma mi da errore')'.

/amministrazione/agg_locale.asp, line 20
da cosa dipende?

Grazie a tutti ciao