i have a couple of questions.
I am learning php and i built a log in and a register page. When u register it auto-increments the id row and the user name goes to row "user" in a mySQL database. now how would i make it so it says you are logged in as "user name"?
now once they are logged in, how do i call their user id? example: i want to let them change their password. How do i call their id to make sure i have the write table row?
last question, how do i make people be able to do their own thing without other people seeing what they do? example:lets say i need to make a notes program. How do i make it, so the logged in person can make their own notes that nobody else can view? and then someone else can log-in and still make their won notes that nobody else can view? what do i need to do in mySQL to be able to do that?