Sto cercando di usare queste righe:
Ma continua a darmi: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
Come mai? :master: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

Rispondi quotando