/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php //Bad Email... $badEmail = "bad@email"; //Run the email through an email validation filter. echo "Email is no good."; }else{ echo "Nice email."; } //Result - Email is no good. ?>
URL: http://www.devirtuoso.com/2010/08/quick-tip-validate-email-addresses-with-php/
Comments
