redirecting user to acces his/her own account | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

redirecting user to acces his/her own account

how to code a site using php ang mysql to redirecting user to acces his/her own account..when they login..

26th Oct 2017, 1:59 PM
Dark Smile
Dark Smile - avatar
6 Answers
+ 3
I want to think you want to show profile? you only need to call function which show account infornation from database
26th Oct 2017, 2:01 PM
Daniel
Daniel - avatar
+ 2
you only need to work with database info for that username or userid
26th Oct 2017, 2:31 PM
Daniel
Daniel - avatar
+ 1
im doing a website..an online shop...when you login and ordered something..it will record in your account...then if you login with different account different record are also there...
26th Oct 2017, 2:28 PM
Dark Smile
Dark Smile - avatar
+ 1
I mean, when you do an ordered, you must to link it with an userid to obviously know what orders are of each user
26th Oct 2017, 3:41 PM
Daniel
Daniel - avatar
0
can you give me some sample code for that..
26th Oct 2017, 2:35 PM
Dark Smile
Dark Smile - avatar
0
share your code/database
26th Oct 2017, 3:39 PM
Daniel
Daniel - avatar