PHP, sql

Check if email already exist php mysqli database

$emailMatch = “SELECT * FROM puran WHERE email=’$email’ “;
$result = mysqli_query($connect,$emailMatch);
if(mysqli_num_rows($result)>0){
header(“location: signup.php?action=email-false”);
} else {

Then Data Insert Code

Leave a Reply