1) nie sprawdza mi czy dany uzytkownik juz czasami nie istnieje w bazie
2) nei sprawdza podanych haseł czy są takie same
i nie wiem jak rozwiazac ten problem, jak narazie mam nastepujący KOD:
<?php pol_mysql(); $login = $_POST['login']; $gg = $_POST['gg']; $haslo = $_POST['haslo']; $haslo2 = $_POST['haslo2']; $usersadd = "insert into users values ('', '0', '$login', $gg, '$haslo', '$haslo2')"; echo '<font color="white"><b>Rejestracja przebiegła pomyślnie!<br>Teraz możesz się zalogować!</b><br><a href="index.php"><font color="white">Wróć do strony głownej!</font></a></font>'; } else { echo ' <form action="rejestracja.php" method="POST" ><center> <center> <b> Nowy uzytkownik:</b><br> Login : <input type="text" name="login" class="textbox" value="" maxlength="20"><br> GG : <input type="text" name="gg" class="textbox"><br> Hasło : <input type="password" name="haslo" class="textbox"><br> Powtórz hasło : <input type="password" name="haslo2" class="textbox"><br> <input type="submit" value="Zarejestruj"> </form>'; } ?>