Kod
div class="tekst">
<?php
if(empty($_GET['id']) or $_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="kontakt"){
include("formularz.php");
}
?>
</div>
<?php
if(empty($_GET['id']) or $_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="xxx"){
include("dane/xxx.html");
}
if($_GET['id']=="kontakt"){
include("formularz.php");
}
?>
</div>
wszystko dziala ok, ale chcialbym aby po zaladowaniu okreslonej podstrony odswiezal mi sie tylko ten div z podstroną, a nie cala strona jak to jest teraz...
pewnie jest to banalne, ale nei wiem jak rozwiazac ten problem
