Chad.
03-11-2008, 03:39 PM
Well I am using this:
<?php
$_GET['page'];
switch($page)
{
case "home":
include('web-gallery/include/home.php');
break;
case "news":
include('web-gallery/include/news/news.php');
break;
case "community":
include('web-gallery/include/community/community.php');
break;
default:
include('web-gallery/include/home.php');
break;
}
?>
to include my pages instead of using iframes... but the thing about this is that I have the default showing but when I click my links which are index.php?page=home, the page doesnt change... any help on this :)
<?php
$_GET['page'];
switch($page)
{
case "home":
include('web-gallery/include/home.php');
break;
case "news":
include('web-gallery/include/news/news.php');
break;
case "community":
include('web-gallery/include/community/community.php');
break;
default:
include('web-gallery/include/home.php');
break;
}
?>
to include my pages instead of using iframes... but the thing about this is that I have the default showing but when I click my links which are index.php?page=home, the page doesnt change... any help on this :)