0
How to members details on members page?
after login how to show login person details on members page what is php code?
5 ответов
+ 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.
+ 1
you can read this
https://www.w3schools.com/php/php_sessions.asp
0
chupame la verga
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.
0
login page use as store variable from db to session variable. you can use stored session variable and display it in other page