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! Quote Link to comment 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] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.