robcrozier Posted April 14, 2006 Share Posted April 14, 2006 hi can anyone tell me how i can check as to whether a given email address contains an @ sign in my registration form. cheers! Link to comment https://forums.phpfreaks.com/topic/7423-check-if-email-address-contains/ Share on other sites More sharing options...
redbullmarky Posted April 14, 2006 Share Posted April 14, 2006 the easiest way - stristr:[code]if (stristr($email_address, '@')){ echo 'found the @ symbol';}[/code] Link to comment https://forums.phpfreaks.com/topic/7423-check-if-email-address-contains/#findComment-27046 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.