witam,mam troche głupi problem, nie uruchamia mi się prawidłowo skrypt menu, ze strony indexu,który wygląda tak:
<?php
$go = $_GET['go'];
if(is_file('$go.php')) include ($go.php
'); else echo "<br />Nie ma takiej strony";
}
else include ('1.php);
?>
a w menu jest taki:
<?php
<a href="index.php">strona główna</a><br />
<a href="index.php?go=2">Galeria</a><br />
<a href="index.php?go=2">o nas</a><br />
<a href="index.php?go=2">kontakt</a>
?>
przy wyświetlaniu z index.php pojawia się 1.php ale na linki pozostale nie ma reakcji(z wyj. strony glównej) .gdzie jest błąd?(IMG:
http://forum.php.pl/style_emoticons/default/questionmark.gif)