PHP Finding Substring With Strpos() – String Function

<?phpif (strpos($_POST['email'], '@') === false) {    print 'There was no @ in the e-mail address!';
 }?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.