cosa non và in questo codice ?
Lo esegue ma non mi scrive niente nel DB
codice:
<%
Set conn2 = Server.CreateObject("ADODB.Connection")
Set rs2 = Server.CreateObject("ADODB.Recordset")
conn2.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.mappath("/mdb-database") & "/chat122.mdb"
rs2.open "SELECT * FROM users", conn2, 3, 3
set Conn = Server.CreateObject("ADODB.Connection")
set RS = Server.CreateObject("ADODB.Recordset")
Conn.Open "Driver={mySQL}; Server=xxxxxxxxxx3; Port=3306;Database=xxxxx_2; Uid=xxxx1; Pwd=xxx1;"
RS.ActiveConnection = Conn
rs.open "SELECT * FROM xxx_users"
for x = 1 to 10
dim a, b, c
a = rs2("nickname")
strSQL = "UPDATE xxx_users SET login = ' & a &'"
Conn.Execute(strSQL)
next
response.write("fatto")
%>
Mi fa tutto il codice ma on mi scrive niente nel db!