×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Nov 23, 2017 9:54 AM
Views: 1
Tags: no tags
  1. $email = test_input($_POST["email"]);
  2. if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
  3.   $emailErr = "Invalid email format";
  4. }