When my DB holds the data already it should echo "fail"
my Code is :
if (!mysqli_query($con,"INSERT IGNORE INTO name(username, passwort, email, active, loc, image)
VALUES ('$name', '$pass','$mail' , 0, '$loc', 'mo.png')"))
{
echo "fail";
}else{
echo "sucess";
}
the weird thing is if my Username ecist it do what it should do, no insert. But my echo "fail" is not called, but why?