Hi,
Sorry if this is a over-asked question. I searched the forums a couple times with different terms and couldn't really find what I was looking for.
I would appreciate any help, tutorial sites, etc.
I am wanting to create a "members only" section of a website. A couple years ago for a class I had to create a site that required logging in to get to stuff but it was only with one username password to access the MySQL database. The pages used session checks to see if someone was logged in to view each page, etc, so I think I can go back and basically use that code to do that kind of stuff.
But what I don't understand and what my question is how do I set up something where people create their own username and passwords and then are able to log-in using those?
I guess I would use a form and send the data to a database? And then a login form would look for the data in the database? Is there examples of code for this stuff somewhere? I guess where I'm confused is I remember the code we used for class specifically had the user name and password written into the code so thats why I don't understand how to write code where it will look for individual people's info.
Thanks for any enlightenment on this. Not a big coding person, more of a interface design type person so sorry for the stupid question.