php check if string email

Solutions on MaxInterview for php check if string email by the best coders in the world

showing results for - "php check if string email"
Noemi
01 Aug 2017
1<?php
2    if(filter_var("some@address.com", FILTER_VALIDATE_EMAIL)) {
3        // valid address
4    }
5    else {
6        // invalid address
7    }
8?>
9