Want to include another value in my urls
so far I have
# valid pages
$page = array('splash', 'portraits', 'weddings', 'studio', 'about', 'mobile', 'personal');
# validate GET, default to splash if not provided
$_GET['q'] = (isset($_GET['q'])) ? strtolower(trim($_GET['q'])) : 'splash';
if (!in_array($_GET['q'], $page))
$_GET['q'] = 'splash';
require_once "{$_GET['q']}.html";
but I want to include sections into my site so I need an extra value (ie. ?q=portraits?z=studio )
I assume I could probably just duplicate the $get command and replace q with z... but suppose I don't want the second value to be necessary (so the default pages will display without extra commands) and i want it to target a div or frame within the page? Not sure if I can even target divs.