ok when yall finish laughing at me can you help with what may be a simple solution
i have made a lil website for my gaming clan (its weak and in so many ways probably coded wrong)
but anyway here goes
link >> http://bf.gravediggaz.org
my question >>
i have index.php home.php links.php etc...
how do i get home.php to load in index.php by default as it stands now to view the home page you need to go to http://bf.gravediggaz.org/index.php?site=home
Code:
<?php
ob_start();
if($_GET['site'] == 'home')
{
include ("home.php");
}
?> <?php
ob_start();
if($_GET['site'] == 'videos')
{
include ("videos.php");
}
?> <?php
ob_start();
if($_GET['site'] == 'images')
{
include ("images.php");
}
?> <?php
ob_start();
if($_GET['site'] == 'links')
{
include ("links.php");
}
?>
any help will be much appreciated
ty in advance
rebz