Hello all php pro
I am having some problem, when i type goto.php?id=home in my browser, the page that pops up uses the goto.php title which is GB' rather that the suppost home.php title which is home.Why?
Is there any better function than include to open a new page?
Below are my codes for goto.php.
//
<html>
<head>
<title>GB'</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php $id=$_GET['id']; if($id=="home") {include "home.php";}
$id=$_GET['id']; if($id=="story") {include "story.php";}
$id=$_GET['id']; if($id=="characters") {include "characters.php";}
$id=$_GET['id']; if($id=="manga") {include "manga.php";}
$id=$_GET['id']; if($id=="gallery") {include "gallery.php";}
$id=$_GET['id']; if($id=="downloads") {include "downloads.php";}
$id=$_GET['id']; if($id=="links") {include "links.php";}
$id=$_GET['id']; if($id=="contact") {include "contact.php";}
$id=$_GET['id']; if($id=="storyleft") {include "storyleft.php";}
$id=$_GET['id']; if($id=="storyright") {include "storyright.php";}
$id=$_GET['id']; if($id=="charactersleft") {include "charactersleft.php";}
$id=$_GET['id']; if($id=="charactersright1") {include "charactersright1.php";}
$id=$_GET['id']; if($id=="charactersright2") {include "charactersright2.php";}
$id=$_GET['id']; if($id=="banmido") {include "banmido.php";}
$id=$_GET['id']; if($id=="ginjiamano") {include "ginjiamano.php";}
$id=$_GET['id']; if($id=="hevn") {include "hevn.php";} ?>
</body>
</html>
//

