FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a 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..
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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