Hi guys,
I am using the following code to open pages in php, this all works lovley, however, I want to add a case statement to open a new URL in a new window.
I have added the case statement in, however I do not know how to action the command to open the new window and website????
Can anyone help me solve this??? See Case 13 for where I want to open the new window and site.
switch($page) {
case 13:
This is where I want to open a URL for a web page in a new window. Any ideas???
break;
case 12:
include('rooms.php');
break;
case 11:
include('functions.php');
break;
case 10:
include('dietary.php');
break;
case 9:
include('accommodation.php');
break;
case 8:
include('evening.php');
break;
case 7:
include('lunch.php');
break;
case 6:
include('location.php');
break;
case 5:
include('samplemenu.php');
break;
case 4:
include('events.php');
break;
case 3:
include('openinghours.php');
break;
case 2:
include('contactus.php');
break;
case 1:
default:
include ('main.php');
break;
}