phpjay Posted July 18, 2011 Share Posted July 18, 2011 i have a code in session <?php $username= "$_SESSION[username]"; echo "Welcome: $username"</font>"; ?> i need to get the details of username like this: Welcome: test - is the username from DB Details: Name: Jonathan Iosli username: test Date Log In: July 18, 2011 Link to comment https://forums.phpfreaks.com/topic/242246-session-details/ Share on other sites More sharing options...
TeNDoLLA Posted July 18, 2011 Share Posted July 18, 2011 So what is the problem? Use user_id or username or whatever value you get from session(?) to fetch detailed data from database and print them on the page as you wish. Link to comment https://forums.phpfreaks.com/topic/242246-session-details/#findComment-1244021 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.