how do i make a php page which will output data depending on the user logged in...tht is a profile page?
member profile page
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.
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.
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..
