• 31-01-2008, 02:51:51
    #10
    Alıntı
    sayfa.php?git=liste dendiğinde

    liste.php?s=1 göstersin istiyorum :S
    bu sorunuza göre cevap veriyorum


    Alıntı
    <?php
    $git=$_GET['git'];
    if $git=="liste" {
    header("location: liste.php?s=1");
    }
    ?>
  • 31-01-2008, 03:02:07
    #11
    Üyeliği durduruldu
    hocam kodu ekledim sayfa hiç açılmıyor.
  • 31-01-2008, 09:37:48
    #12
    Üyeliği durduruldu
    hocam liste.php yi sayfa.php içine include et. liste php içindeki içeriği if ($_GET["link"]=="liste" OR $_GET["s"]=="1") { birinci liste } şeklinde kodla. if ($_GET["s"]=="2") { ikinci liste olarak devam et.} ..
  • 31-01-2008, 18:22:55
    #13
    Üyeliği durduruldu
    SanCreaL adlı üyeden alıntı: mesajı görüntüle
    Evet ama

    benim listem liste.php?s=1 şeklinde bu kodla

    sayfa.php?s=1 oluyor ve sayfa boş haliyle

    sayfa.php?git=liste dendiğinde

    liste.php?s=1 göstersin istiyorum :S

    switch( $_GET['git'] )
    {
    case "liste":
    $_GET['s'] = 1;
    require_once( 'liste.php' );
    break;
    }


    bu şekilde yapıcaksın işte.