Richter,
This is a little vague, however, you can do this with 3 scenarios:
1) The user comes on to the webpage, it asks them the questions, and it sets the properties, you can use sessions to save the users preferences. NOTE: I don't recommend this way.
2) Same as above, however you set a cookie, some people don't like cookies but its easier for a PHP Beginner to get the hang of verses Sessions. You set the cookie, the page reads the preferences, and does its work
3) If you have a login based system you can do as above but save the preferences in the database.
Each of the 3 routes have a different approach.. For the sake of learning I would recommend cookies.. if this is what you would like, I will post an example for you.
big.nerd