harkly Posted January 22, 2010 Share Posted January 22, 2010 Just looking for some advice – when a user registers on my site I want it to automatically check the db to see if the email or username is currently being used. I am thinking that I can have a reg page where the user inputs the info then it goes to a check page that will either 1. state that it has been set up or 2. give an error telling the user the email or username is already taken and give them a Does that sound right? Is there an easier way to do this? I have looked for some JavaScript that might to it or any other code even a tutorial but could not find anything. Quote Link to comment https://forums.phpfreaks.com/topic/189461-looking-for-advice-on-registration-page/ Share on other sites More sharing options...
iPixel Posted January 22, 2010 Share Posted January 22, 2010 Your logic is perfectly fine. Quote Link to comment https://forums.phpfreaks.com/topic/189461-looking-for-advice-on-registration-page/#findComment-1000063 Share on other sites More sharing options...
laffin Posted January 22, 2010 Share Posted January 22, 2010 google: ajax username availability Quote Link to comment https://forums.phpfreaks.com/topic/189461-looking-for-advice-on-registration-page/#findComment-1000097 Share on other sites More sharing options...
ignace Posted January 22, 2010 Share Posted January 22, 2010 nevermind. Quote Link to comment https://forums.phpfreaks.com/topic/189461-looking-for-advice-on-registration-page/#findComment-1000135 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.