So I have a site in which people have specific accounts. After login, I want them to be directed to a homepage specific to them (like a account page, with info about their account, new chats, etc.). How would I redirect them to their own account page after they login? All of the code came from http://www.tutorialrepublic.com/php-tutorial/php-mysql-login-system.php, which simply redirects a user to welcome.php. I tried adding welcome.php?id=# to the end of the URL, but that didn't work. I'm new to PHP/MySQL, so I used the tutorial for my login system. I can code adequately in HTML, so thorough explanations of solutions would be appreciated, however, any functioning code would be appreciated. Thank you!
Edit: I don't want to just redirect people from one page to another page, I want each user to be taken to their profile. For example, if user1 logs in, I want them to be sent to their profile page (with editing powers), not to welcome.php. However, user2 shouldn't go to the same page, they should go to their own profile page.