This is my switch: case_switch.php
<?
switch ($page) {
case home:
require 'home.php';
break;
case staff:
require 'staff.php';
break;
case history:
require 'history.php';
break;
}
?>
My navigatios are like this "home" linked up with www.mysite.com?page=home
It is meand to work it works on my old host witch in php 4, the problem starts with the new host that is php5. Let me inform that the case switch php is a script that was made on php 4. I have not modyfied it yet becuase I dont know what makes a script php 5. this is my old host and it works on there click here. I know when you click other pages a error comes up, but it is meant to be like that becuase I have not uploaded the pages. This is my php5 host, and no pages load or even come on click here. I know that it dont work, because if it did it would load a page, or show a error saying the page dont exist.
Please!!!!! help me
Edited by Vic Vance, 27 February 2008 - 01:32 PM.
