• 1.
     
  • 2.
    <?php 
  • 3.
    if ( is_email( '[email protected]' ) ) {
  • 4.
        echo 'email address is valid.';
  • 5.
    }else{
  • 6.
    	echo 'email address is not valid.';
  • 7.
    }
  • 8.
    ?>
<?php if ( is_email( '[email protected]' ) ) { echo 'email address is valid.'; }else{ echo 'email address is not valid.'; } ?>

Copy Code to Clipboard Raw

Sign-in or Create a Free Account.

Snippi uses Twitter or Facebook to register and create accounts. Registration will enable you to keep track of your snippets. We never spam your timeline or wall. Ever.

Sign-in with Facebook Sign-in with Twitter