Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]odswiezanie div'a
dexter77
post
Post #1





Grupa: Zarejestrowani
Postów: 27
Pomógł: 0
Dołączył: 6.05.2008

Ostrzeżenie: (0%)
-----


Witam mam stronke na divach, w jednym z nich mam tresc i wstawiony kod:

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>


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 winksmiley.jpg
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 03:35