Validar email en php
echo «Email válido»;
} else {
echo «Email inválido»;
}
( '/^[A-Za-z0-9-_.+%]+@[A-Za-z0-9-.]+\.[A-Za-z]{2,4}$/' , |
3 |
$_POST [ "emailAddy" ])) { |
4 |
echo "Email address accepted" ; |
5 |
} |
6 |
else { |
7 |
echo "Email address is all broke." ; |
8 |
} |