test if correct email in php 7 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";
}