0

How to members details on members page?

after login how to show login person details on members page what is php code?

22nd May 2017, 1:38 PM
mahendrasharma
5 Respostas
+ 1
example: <p> <?php echo $_SESSION['name']; ?> </p> Assuming that you stored fetched data about user in session, and that it has parameter called "name". You can style it with css easy, and also it doesn't have to be in p tags, can be any other.
22nd May 2017, 1:50 PM
Amar
Amar - avatar
22nd May 2017, 2:12 PM
Fathul Karim
Fathul Karim - avatar
0
chupame la verga
22nd May 2017, 1:47 PM
Mauri Ferreyra
Mauri Ferreyra - avatar
0
@Fathul Karim I assumed that he already knows what session is and how to fetch data from db and store it as session variable, but yeah if he doesn't know that that is same link I learned from, so it is vety useful.
22nd May 2017, 2:25 PM
Amar
Amar - avatar
0
login page use as store variable from db to session variable. you can use stored session variable and display it in other page
22nd May 2017, 2:29 PM
Fathul Karim
Fathul Karim - avatar