visionaire Posted April 5, 2011 Share Posted April 5, 2011 Hello, I am working on a site where a user will input an email address, it will then need to be checked whether or not that email exists in a database, and only if it exists can the user continue. What I would like ideally is an input field where the user writes the email, then below that a line which shows either green for 'email found' or red 'email not found, try again'. I also want the user to be unable to continue if the email field is filled in, but giving the 'not found' message. I have been searching for hours for a tutorial on this, but so far could not find any. Any help would be greatly appreciated! Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted April 5, 2011 Share Posted April 5, 2011 So with which part of it are you stuck? Post your current code, any errors you're getting returned, and any other relevant information. Quote Link to comment Share on other sites More sharing options...
cssfreakie Posted April 6, 2011 Share Posted April 6, 2011 Were you already able to do this without ajax? If not have a read on database handling, an excellent tutorial written my Crayon Violent can be found at phpfreaks: http://www.phpfreaks.com/tutorial/php-basic-database-handling Ones you have that script working without ajax, It should be pretty do-able with ajax. 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.