Sto cercando di usare queste righe:
codice:
If Request.QueryString("id") <> "" Then
id = Request.QueryString("id")
Set rsEntrata = Server.CreateObject("ADODB.Recordset")
rsEntrata.Open "SELECT * FROM info WHERE id="&id&"", conn
If not rsEntrata.EOF Then
rfr = request.form("rfr")
utente = rsEntrata("nome_pg")
strsql = "INSERT INTO chat_perms ( utente, rfr ) Values('"&utente&"', "&rfr&")"
Conn.execute strsql
response.write rsEntrata("nome_pg") & " è stato aggiunto alla sessione di gioco."
end If
rsEntrata.close
end If
Ma continua a darmi:
codice:
[TCX][MyODBC]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Come mai? :master: