It works fine but there is a page for the rooms and I want it to display the same kind of navigation
index.php?page=rooms?name=ROOMNAME
INDEX.php
*code for the include
<?php
switch ($HTTP_GET_VARS[page]) {
//Default - case
default:
include "content.html";
break;
//ABOUT US - case
case 'aboutus':
include 'about.htm';
break;
//RATES - case
case 'rates':
include 'rates.html';
break;
//ROOMS - case
case 'rooms':
include 'rooms.php';
break;
//NEWSLETTER - case
case 'newsletter':
include 'news.php';
break;
//STAFF - case
case 'staff':
include 'staff.html';
break;
//FORMS - case
case 'forms':
include 'forms.htm';
break;
//CONTACT - case
case 'contact':
include 'contact.html';
break;
}?>
ROOMS.php
*code for the include
<?php
switch ($HTTP_GET_VARS[name]) {
//Default - case
default:
include "rooms_default.html";
break;
//Dinosaur Room - case
case 'dinosaur':
include 'Dino.htm';
break;
//Library Room - case
case 'library':
include 'Library.html';
break;
//Ocean Room - case
case 'ocean':
include 'Ocean.htm';
break;
//Pony Room - case
case 'pony':
include 'Pony.htm';
break;
//Solar Room - case
case 'solar':
include 'Solar.htm';
break;
//Tomato Room- case
case 'tomato':
include 'Tomato.htm';
break;
//Tiger Room - case
case 'tiger':
include 'Tiger.html';
break;
//Tree Room - case
case 'tree':
include 'Tree.htm';
break;
//Zebra Room - case
case 'zebra':
include 'Zebra.html';
break;
//Zoo Room - case
case 'zoo':
include 'Zoo.html';
break;
}
?>
ROOMS PAGE
