Answers for "how to check email exists before sql insert"

SQL
1

how to ckeck that email is present in databse in mysqli

$select = mysqli_query($connectionID, "SELECT `email` FROM `game` WHERE `email` = '".$_POST['email']."'") or exit(mysqli_error($connectionID));
if(mysqli_num_rows($select)) {
    exit('This email is already being used');
}
Posted by: Guest on July-16-2020

Code answers related to "how to check email exists before sql insert"

Code answers related to "SQL"

Browse Popular Code Answers by Language