Oh that's easy!
(password1 is your password, password2 is the one where you confirm it)
[lua]
if($password1 != $password2) {
header('Location: register.php');
}
if(strlen($username > 30) {
header('Location: register.php');
}
[/lua]
By the way, I would add in an error message. But that's how you do it.
(password1 is your password, password2 is the one where you confirm it)
[lua]
if($password1 != $password2) {
header('Location: register.php');
}
if(strlen($username > 30) {
header('Location: register.php');
}
[/lua]
By the way, I would add in an error message. But that's how you do it.