₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,328,183 members, 8,434,518 topics. Date: Friday, 26 June 2026 at 07:33 PM

Toggle theme

Help Needed In Creating Session Variables - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingHelp Needed In Creating Session Variables (848 Views)

1 Reply (Go Down)

Help Needed In Creating Session Variables by charliebiz(op): 12:38pm On Mar 27, 2009
Help neeeded on creating session variable with php. I am trying to create a user login that will display the information of the user in the member page after login(quering the database) but i am finding it difficult. The login page is working but i can't work out the member page to display the data or information of the user/member.
Re: Help Needed In Creating Session Variables by mj(m): 4:42pm On Aug 05, 2010
post the registration script here and export ur SQL for me to see. I will get it done for you, What and what do u want to be displayed on the members area?
Re: Help Needed In Creating Session Variables by sayhi2ay(m): 9:24pm On Aug 05, 2010
why do you need a session variable to do this ?
Re: Help Needed In Creating Session Variables by lojik(m): 9:24pm On Aug 06, 2010
What do you mean that the login is working?
Do you track your logged in users across pages with session using username or userid or any other user unique field? If you do this, all you need to do is query the users table with that field to fetch the user data you need.

If your problem is not solved with the above, it will be better if you paste your code here (if its not too long) or give a more detailed explanation.
1 Reply

Programmers Interested In Creating Utility Applications For NigeriaStep By Step In Creating Mobile ApplicationHow To Set Java Classpath Variables234

Pls Help Me Out!Which Is The Best Place To Learn ProgramingSettings