/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function is_valid_email( $email ) { } foreach( $emails as $email ) { echo $email . ' is' . ( is_valid_email( $email ) ? '' : ' not' ) . " valid\n"; }