Login

Hello,

I developed a member registration system, but I wanted them to login and go to their member id which is a primary key and is is generated uniquely for each member, but I am not sure how. The row in the mysql database is named id. When I do it, the address is something like this: logincheck.php?id= . So it is not getting the id. How can I do this? When I enter in the unique id, and then login it goes to that members profile, so how can I do this? Also, I also have it so that it will check the id so that the person is not trying to go into someone else’s profile. Also, if someone could suggest If I should just use sessions please so. I am not sure what to use, I am guessing that sessions would be easier, but I am not that good with them. Tutorials and anything will help, THANKS

Peter