Instead, do this...
#Put this in the top of the page...
$query = $QUERY_STRING;
$query_Array = explode("&", $query);
foreach ($query_Array as $i) {
$doubleItem = explode("=", $i);
$$doubleItem[0] = str_replace("%20", " ", $doubleItem[1]);
}
Now lets put some links down here...
<A href="gallery.php?page=index">Index</a><br>
<a href="gallery.php?page=prague">Prague</a><br>
etc...
now lets test out which one was clicked...
if($page) {
if($page == "index") {
echo "This is the index page, here is some information...<br>";
} elseif($page == "prague") {
echo "This is the prague page! Um... ok yeah here is some prague information!<br>";
}} elseif(!$page) {
echo "No page selected!<br>";
}
Any other questions? Hope this helps... btw, whatever page=whatever (replace whatever with what you want... then test it with an if statement where I have the others and then print out something or include something)