I want something that would accomplish the following kind of situation. It will let a user choose variables, and eventually arrive at a conclusion of available items that meet the desired criteria.

CHOICE 1.
Green
Red <<< users picks this one
Blue
Pink
Yellow

CHOICE 2. (red items)
Apple <<< user picks this one
Cherry
Strawberry

CHOICE 3. (apples)
Delicious
McIntosh <<< user picks this one
Spartan

CHOICE 4. (McIntosh)
New York
Massachusetts <<< user picks this one

CHOICE 5. (Mass.)
Boston

This would be for a site online, to help guide customers to the correct project. With what language might this be possible, or with what sort of terminology can I look up more information with a Google search? Maybe a script already exists out there?

Thanks for any help you might have.