Url Redirection after login

I am a new beginner to php and dont know very much about it.
I have written a php code regarding php and mysql login which validates the username and password of a user and sends the user after authentication to success.php.
My goal is to do something different.
I want to store a url in the database alongwith the username and password of that user and the url would be different for all users.
I want to redirect each user after login to a separate page.
Please tell me what changes to make in the success.php file. Also that as you know that i am a beginner so please explain the code as you write.

that’a really a good idea! you need to create a filed to save the different url when the users login. read the url from the datebase then redirect it. if you don’t know how to do then connecte me with skype lamb_137
thanks

Sponsor our Newsletter | Privacy Policy | Terms of Service