phpnewbei Posted September 20, 2010 Share Posted September 20, 2010 As the topis says, I need help with an email form. You must have valid email address to go further, so lets say you write asdada as email, you won't be able to register the account, you must have asdada@hotmai.com or something like that. If anyone knows it would be awesome! Quote Link to comment Share on other sites More sharing options...
litebearer Posted September 20, 2010 Share Posted September 20, 2010 http://www.electrictoolbox.com/php-email-validation-filter-var/ Quote Link to comment Share on other sites More sharing options...
phpnewbei Posted September 20, 2010 Author Share Posted September 20, 2010 Ah, thank you so much! Quote Link to comment Share on other sites More sharing options...
phpnewbei Posted September 20, 2010 Author Share Posted September 20, 2010 But if I want to check from form like this: if (($_GET["email"]) == filter_var("chris@example.com", FILTER_VALIDATE_EMAIL)) (Don't ask me what've done, I just tested some things ^^) How do I do then? 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.