Answers for "php check format email"

PHP
0

validate correct format email php

$email = $_POST["email"];
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
  $emailErr = "Invalid email format";
}
Posted by: Guest on February-22-2021

Browse Popular Code Answers by Language