Right now all that happens is that it will always say email banned
My code
//email validation
$email = htmlspecialchars_decode($_POST['email'], ENT_QUOTES);
$domain_name = substr(strrchr($email, "@"), 1);
$domainBlock = 'example.org';
echo "Domain name is : " . $domain_name;
if ($domain_name = $domainBlock) {
$error[] = 'Website Down For Maintenance';
}