php test email valid code example
Example: valide email php
$email = "[email protected]";
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
$emailErr = "Email invalide";
}
$email = "[email protected]";
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
$emailErr = "Email invalide";
}