You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$check_if_exists = "SELECT * from customer where cust_email='$cust_email'";
$exec_check = mysqli_query($con,$check_if_exists) or die(mysqli_error($con));
if(mysqli_num_rows($exec_check) > 0)
{
echo "Entered E-mail is already used. Please Log In to continue";
}
else
{
$qry="INSERT INTO customer(cust_fname,cust_lname,cust_email,cust_phone,cust_address,cust_pwd) VALUES('$cust_fname','$cust_lname','$cust_email','$cust_phone','$cust_address','$cust_pwd')";