Ciao, qualcuno potrebbe spiegarmi perchè se nel seguente code se inserisco la parte in rosso, smette di funzionare o meglio restituisce una pagina web bianca?: :master:codice:..... else strsql = "SELECT email FROM tbl_login WHERE email='" &request("email")& "'" Set objRec = Server.CreateObject("ADODB.Recordset") objRec.Open strsql, strconn, 3, 3 if not objRec.bof and not objRec.eof then Response.write "attenzione utente già registrato con questa e-mail" Code = Value(20) response.write Code strsqls = "SELECT ID_Code FROM tbl_login WHERE ID_Code = " & Code & " " Set objRecs = Server.CreateObject("ADODB.Recordset") objRecs.Open strsqls, strconn, 3, 3 if not objRecs.bof and not objRecs.eof then response.write "attenzione utente già registrato con questo CODE" else 'costruisci password password = genera_pwd() end if end if

Rispondi quotando
