how to validate email r in php 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";
}