Okay, I just started experimenting with MySQL today. Congratulate me.
Okay, so I got far enough to write to a table in a database and then read the table contents of a database. Then I got stuck.
Basically, my script will create a username/password combo for a registration membership on my site (this doesn't have to do with MySQL users; it has to do with membership users, like registering at this site to post).
The user registers by inputting their username and password, and that information is saved to the database. However, I have a problem:
What if that username has already been chosen?
I don't know how to do this, and, as I said, I started MySQL today, so please be really descriptive.
Thanks.