FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


member profile page





riyadh
how do i make a php page which will output data depending on the user logged in...tht is a profile page?
rvec
same as here: http://www.frihost.com/forums/vt-91176.html
but instead of the $_GET variable use a session or cookie var depending on what you use to store the userid if a user is logged in.
carl_fernandes
You can keep a type field associated for the users when you are storing their details in the database. Once the users log in you can store the user type field in the session and thus use this session variable to display and hide whatever is relevant to that user depending on his type.. I hope you find this useful..
Related topics
More of a report,
.::Avatars::.
Avatars
Yes, I know newbie questions but I'd appreciate the help.
about this no mp3s...
signature in member profile
Problem connecting to MySQL database with PHP [RESOLVED]
Display Points and Frih$ on Account / Profile page
Sig Preview in profile page
Inactive Moderators
profile suggestion
Change joomla registration page
Small errors in 'view latest posts' page.
Joomla 1.6 login form 404 page
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.