<?php
$id = $_GET['id']; // This gets the value of the id in yourfile.php?id=value
switch($id)
{
default: include('index.html'); break; // the url to your main page
case "page1": // link id, the "title" what ever you wanna call it
include('page1.html'); // the link id page file, the file it will go to
break;
case "page2":
include('page.html');
break;
case "page3":
include('page.html');
break;
case "page4":
include('page.html');
break;
case "page5":
include('page.html');
break;
}
?>
this code will show a page like index.php?id=page1 but how would I get it so it would be like index.php?id=page1&page2