• 29-08-2019, 14:15:44
    #10
    kodun son halini özelden atar mısın
  • 29-08-2019, 15:02:25
    #11
    ebubekirtrkr adlı üyeden alıntı: mesajı görüntüle
    kodun son halini özelden atar mısın
    gönderdim hocam
  • 29-08-2019, 22:45:49
    #12
     <thead>
    <tr>
    <th><center>Kullanıcı Adı</center></th>
    <th><center>Şifre</center></th>
    <th><center>Ip</center></th>
    <th><center>İşlem</center></th>
    </tr>
    <?php
    if(!isset($_REQUEST['siparisler_durum']))$_REQUEST['siparisler_durum']=1;
    $siparislersor=$db->prepare("SELECT * from siparisler where kullanici_id = ? AND siparisler_durum='$_REQUEST[siparisler_durum]'");
    $siparislersor->execute([$kullanici_id]);
    $say=0;
    ?>
    </thead>
    
    <tbody>
    <?php while($siparislercek=$siparislersor->fetch(PDO::FETCH_ASSOC)) { $say++ ?>
    <tr>
    <td><center> <?php echo $siparislercek['siparisler_web'] ?></center></td>
    <td><center> <?php echo $siparislercek['siparisler_adsoyad'] ?></center></td>
    <td><center> <?php echo $siparislercek['siparisler_telefon'] ?></center></td>
    <td><center><a href="duzenle.php?siparisler_id=<?php echo $siparislercek['siparisler_id'] ?>">
    <button class="btn btn-info col-md-12">Düzenle</button>
    </a></center></td>
    
    </tr>
    <?php } ?>
    </tbody>
    Şeklinde yaparsanız çalışacaktır. While döngüsünü</thead> etiketinden önce kullanmışsınız, <tbody> etikenin içindeki <tr> etiketinden önce kullanmalısınız.
  • 30-08-2019, 00:21:17
    #13
    BatuhaNN adlı üyeden alıntı: mesajı görüntüle
     <thead>
    <tr>
    <th><center>Kullanıcı Adı</center></th>
    <th><center>Şifre</center></th>
    <th><center>Ip</center></th>
    <th><center>İşlem</center></th>
    </tr>
    <?php
    if(!isset($_REQUEST['siparisler_durum']))$_REQUEST['siparisler_durum']=1;
    $siparislersor=$db->prepare("SELECT * from siparisler where kullanici_id = ? AND siparisler_durum='$_REQUEST[siparisler_durum]'");
    $siparislersor->execute([$kullanici_id]);
    $say=0;
    ?>
    </thead>
    
    <tbody>
    <?php while($siparislercek=$siparislersor->fetch(PDO::FETCH_ASSOC)) { $say++ ?>
    <tr>
    <td><center> <?php echo $siparislercek['siparisler_web'] ?></center></td>
    <td><center> <?php echo $siparislercek['siparisler_adsoyad'] ?></center></td>
    <td><center> <?php echo $siparislercek['siparisler_telefon'] ?></center></td>
    <td><center><a href="duzenle.php?siparisler_id=<?php echo $siparislercek['siparisler_id'] ?>">
    <button class="btn btn-info col-md-12">Düzenle</button>
    </a></center></td>
    
    </tr>
    <?php } ?>
    </tbody>
    Şeklinde yaparsanız çalışacaktır. While döngüsünü</thead> etiketinden önce kullanmışsınız, <tbody> etikenin içindeki <tr> etiketinden önce kullanmalısınız.
    hocam cok tesekkur ederım ama buda olmadı :/



    @BatuhaNN hocam sayesinde sorunu çözdüm, ilgilenen tüm arkadaşlara çok teşekkür ederim