a variable loads a set of values

a variable loads a set of values

Hello,

I want to implement this logic, but I am just starting. May be someone can help?

A page www.website.com/products.php shows a few products and their prices, taken from the default price array. This website can show a different sets of prices, taken from other arrays. The set used is determined by a variable, passed in URL.

A consultant sends his prospective customer a link with a variable attached, e.g. www.website.com/products.php?c=85a29. The customer clicks on the link and the page loads. The variable that is passed by the URL determines, which price set is loaded. The page opens with prices, loaded from the array 85a29 that are $10 cheaper.

Thanks in advance!