PHP forms and databases...?

Emily

New member
I'm setting up a new site and I'm trying to create a form asking for username, password, email, etc. and all the information would get sent to the database I have set up using PHPMyAdmin. I know if/then/else statements in PHP, however I'm a little stumped.

I'd like to know how to inform the person registering for my site whether the username they have chosen is already taken, and I'm not sure how. I know if/then/else statements in php, and my guess is that this has to be used for this cause. What I'm not sure is what to put for the "If" part - if...what? Could someone give me an example please?
Hmm I just googled a good tutorial and I'm going to try what it says, however just in case I don't understand it or it doesn't work, I'd still love answers here as backup^^
 
Back
Top