Lan Hui 2022-03-23 14:57:05 +08:00
parent 8b91a8ed7f
commit fc8ad0c0a9
1 changed files with 1 additions and 4 deletions

View File

@ -107,10 +107,7 @@ if (!empty($_POST["form_signup"])) {
$result = mysqli_query($con, "SELECT * FROM users_table WHERE email='$email'"); $result = mysqli_query($con, "SELECT * FROM users_table WHERE email='$email'");
if(mysqli_num_rows($result) != 0) if(mysqli_num_rows($result) != 0)
{ {
$_SESSION["info_signup"]="Email address ".$email." is already in use."; $_SESSION["info_signup"]="Email address ".$email." is already in use. Do you have an old LRR account?";
$_SESSION['user_fullname'] = null;
header("Location: signup.php");
return;
} }
// apply password_hash() // apply password_hash()