mysqli_query($db,"INSERT INTO users(date, login, password, email, `group`)
VALUES('$date', '$login', '$password', '$mail', '0');"
);
mysqli_query($db,"INSERT INTO users(date, login, password, email, group)
VALUES('$date', '$login', '$password', '$mail', '0');"
);