


Za pomoc będę ogromnie wdzięczny! Pozdrawiam Karol

<a href="index.php" >Strona główna</a>
<a href="index.php?skok=1" >coś tam1</a><br>
<a href="index.php?skok=2" >cos tam2</a><br>
<a href="index.php?skok=3">cos tam3</a><br>
<a href="index.php?skok=4" >cos tam4</a><br>
A tam gdzie ma być wczytywane:
div class="main">
<?
switch ($_GET['skok'])
{
case 1:
include ("cos tam1.php");
break;
case 2:
include("cos tam2.php");
break;
case 3:
include ("cos tam3.php");
break;
case 4:
include("cos tam4.php");
break;
default:
echo ' coś tam';
}
?>
</div>
Powróć do Grafika & Webmastering
Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 17 gości