Answers for "php check if email"

PHP
4

check mail php

filter_var($email, FILTER_VALIDATE_EMAIL)
Posted by: Guest on March-07-2020
0

php check if string email

<?php
    if(filter_var("[email protected]", FILTER_VALIDATE_EMAIL)) {
        // valid address
    }
    else {
        // invalid address
    }
?>
Posted by: Guest on July-28-2021

Browse Popular Code Answers by Language