Take the 2-minute tour ×  I'm wanting to use a pair of query
strings to generate specific page content  query string example:
example.co.uk/index.php?brand=apple&video=red  I've managed to
use some simple PHP to replace the div id's with query brand
with some help as follows:  $recognised_brands = array(    //
etc   $default_brand = $recognised_brands[0]; // use first from
list arbitrarily.   $brand_to_use = isset($_GET['brand']) &&
in_array($_GET['brand'], $recognised_brands)    ? $_GET['brand']
: $default_brand;   echo '<div id="' . $brand_to_use .
'"></div>';    However I'm unsure on how to do similar for the
second query called video.  If for example they query is
?brand=apple&video=red  Then I'd want to replace the video var
in the page code to the correct number for red but I don't know
how to add a list of these variables based on the video query
like: red => 1 which then echo's 1 into the correct area?  Also
based on the video selected I'd like part of the heading text to
change and a paragraph of