Zaktualizuj 'nowe_konto.php'
This commit is contained in:
parent
dd1b7297a2
commit
cc8a1223ad
@ -34,7 +34,7 @@ if (isset($_POST['register']))
|
|||||||
if ($haslo1 == $haslo2)
|
if ($haslo1 == $haslo2)
|
||||||
{
|
{
|
||||||
mysql_query("INSERT INTO `users` (`user_login`, `user_pass`)
|
mysql_query("INSERT INTO `users` (`user_login`, `user_pass`)
|
||||||
VALUES ('".$login."', '".$haslo1."');");
|
VALUES ('".$login."', '".md5($haslo1)."');");
|
||||||
|
|
||||||
$login = strtolower($login);
|
$login = strtolower($login);
|
||||||
mysqli_query($db, "CREATE TABLE IF NOT EXISTS `tasks_$login` (
|
mysqli_query($db, "CREATE TABLE IF NOT EXISTS `tasks_$login` (
|
||||||
|
Loading…
Reference in New Issue
Block a user