i cant get this f'in include to work properly.
can anyone help plz
the page is called testing btw.
www.bonxy.co.uk/testing.php
and here is the code...
<center>
<a href="testing.php?page=home">Home</a> 1
<a href="testing.php?page=blog">blog</a> 1
<a href="testing.php?page=ch">ch</a>
<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<?php
$_GET['page'];
switch($page)
{
case "home":
include('pages/home.php');
break;
case "blog":
include('blog.php');
break;
case "ch":
include('ch.php');
break;
default:
include('pages/home.php');
break;
}
?>
any help will be greatful.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx






Reply With Quote


