Linking Register / Login + User Profiles Together

Ask about a PHP problem here.
Post Reply
TeeGee
Posts: 5
Joined: Tue Jan 31, 2012 5:32 am

Linking Register / Login + User Profiles Together

Post by TeeGee »

Hello there.
I already have working User Profile, and a Register / Login..
but now, i want to link it into one.. and i dont know what to do. :)

Register / Login + User Profiles.
http://betterphp.co.uk/playlist.html?pi ... A12314F07E
http://betterphp.co.uk/playlist.html?pi ... F57B0DA2A4

When a user logs in, they will be redirected their profile according to uid.. profile.php?uid=1
and they have access to edit their own profile..

Thank you. :D
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Linking Register / Login + User Profiles Together

Post by jacek »

Instead of manually setting the user id like I did in the profile tutorial you need to use the id of the logged in user.
Image
Post Reply