Keanu
03-13-2008, 03:26 AM
Okay.. what i've got is.. my index.php has a iframe in it...
This is the code:
<iframe src="iframe.php" name="FRAME" width="675" height="300" frameborder="0"></iframe>
And this is what my links are:
<a href="iframe.php?page=Information" target="FRAME"> (Image here)
Now, whenever I go to said page... it doesn't even change the page.. This is whats in my iframe.php
<?PHP
if($page == "News") { include('cutenews/show_news.php'); }
elseif($page == "Information") { include('information.html'); }
elseif($page == "Downloads") { include('downloads.html'); }
elseif($page == "Team") { include('theteam.html'); }
else { include('cutenews/show_news.php'); }
?>
Now.. Can anyone explain to me why that isn't changing page? The code looks fine..
http://ro.aro-network.co.uk
is my site..?
Take a look if you wish, its just doing my nut in because I don't understand why it isn't changing page?
Thanks in advance!
-Keanu
This is the code:
<iframe src="iframe.php" name="FRAME" width="675" height="300" frameborder="0"></iframe>
And this is what my links are:
<a href="iframe.php?page=Information" target="FRAME"> (Image here)
Now, whenever I go to said page... it doesn't even change the page.. This is whats in my iframe.php
<?PHP
if($page == "News") { include('cutenews/show_news.php'); }
elseif($page == "Information") { include('information.html'); }
elseif($page == "Downloads") { include('downloads.html'); }
elseif($page == "Team") { include('theteam.html'); }
else { include('cutenews/show_news.php'); }
?>
Now.. Can anyone explain to me why that isn't changing page? The code looks fine..
http://ro.aro-network.co.uk
is my site..?
Take a look if you wish, its just doing my nut in because I don't understand why it isn't changing page?
Thanks in advance!
-Keanu