come mai pur mettendo true alla verifica esistenza dell'user mi fa registrare con un user uguale
codice:sql="Select * from Iscritti" rs.Open sql,Conn,3,3 do while not (rs.eof or VerifyAlreadyExists) if(StrComp(rs("User"),Server.HTMLEncode(Request("User")), vbtextcompare) =0 ) and rs("User")<>"" then VerifyAlreadyExists=true end if if(StrComp(rs("Password"),Server.HTMLEncode(Request("Password")), vbtextcompare) =0 ) and rs("Password")<>"" then VerifyAlreadyExists=true end if if(StrComp(rs("foto"),Server.HTMLEncode(Request("foto")), vbtextcompare) =0 ) and rs("foto")<>"" then VerifyAlreadyExists=true end if if(StrComp(rs("Email"),Server.HTMLEncode(Request("Email")), vbtextcompare) =0 ) and rs("Email")<>"" then VerifyAlreadyExists=true end if if(StrComp(rs("Telefono"),Server.HTMLEncode(Request("Telefono")), vbtextcompare) =0 ) and rs("Telefono")<>"" then VerifyAlreadyExists=true end if rs.movenext loop %>
![]()
grazie

grazie
Rispondi quotando
