hello!
i'm building a site which allows customers to search for hotels in england, scotland and wales. on the index page the customer is invited to search for hotels in an area of their choice.
what i'd like to have on the next page (which brings up a list of local hotels), is have 3 different headers - one to be used when the chosen area is in england, one for when it's in scotland and one for when it's in wales.
at the moment i'm using the following code to try and achieve this:
$Country = $_GET['Country'];
switch ($Country)
{
case "Scotland":
include ("headerscotland.php");
break;
case "Wales":
include ("headerwales.php");
break;
default:
include ("header.php");
break;
}
but unfortunately it isn't working!! I'd be very grateful if anybody is able to tell me where i'm going wrong - i'm very new to all this!!
lizzyd