I've openen up a browser and loaded the page and tryed to click some php links but they just go back to the starting page. Can anybody maybe tell me what the problem is? I know its not the code because i've been using it for ages now.
this makes the site always open with same content
- Code: Select all
<?php if ($index=="") $index="news"; if ($menu=="") $menu="menu1"; ?>
This is the link so when i click the link it just loads the starting content again.....
- Code: Select all
<a href="index.php?index=staff&menu=menu1">> Staff</a><br>
- Code: Select all
<? if (!$index) {$index="index";}include ($index.'.txt'); ?>