In effetti, visto che la SQL non deve mostrar alcun dato:
codice:
Dim name, email, msg, date_gb, time_gb
name = Request.Form("name")
email = Request.Form("email")
msg = Request.Form("msg")
date_gb = date()
time_gb = time()
Dim strsql
strsql = "INSERT INTO tbl_guestbook (name, email, msg, date_gb, time_gb)"
strsql = strsql & " Values ('"
strsql = strsql & name & "','"
strsql = strsql & email & "','"
strsql = strsql & msg & "','"
strsql = strsql & date_gb & "','"
strsql = strsql & time_gb & "')"
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open("Provider = Microsoft.Jet.OLEDB.4.0; Data Source = D:\ineub\wes\ltrom\mdb-database\giv.mdb")
objConn.Execute (strsql)
objConn.Close
Set objConn = Nothing
response.redirect "scrivi_guestbook.asp"