How to handle multiple options?

Hi,

Please goto this link:
http://digital-print.co.uk/#!/configuration/1484/

You will see there that it has Size, Paper, Colour, Refining
In this if you select Size then rest of the options are turned off/on.
If you select Paper type then Refining options are turned off/on.

In some products only Size turns off / on the rest of the options
In this product Paper turns off/on the refining option.

How to do this in php ? How to do I make user specify then if they select size: A5 and Paper type: Silk Coated then Refning turns all options on ?

Please suggest.

Thanks.

Hello tapan,
Your question is really vague, there could be a lot of different solutions.
You could do it directly with only JavaScript or with Ajax & PHP.