denemedım afakat bende olmadı id seçmesi gerekiyordu yarıdmcı olabılırmısınız
<div class="table-responsive">
<table class="table table-bordered mg-b-1 text-md-nowrap">
<thead>
<tr>
<th><button style="float:right;" type="button" id="siparis_id">Seç</button></th>
<th>ID</th>
<th>Ad Soyad</th>
<th>Telefon</th>
<th>Email</th>
<th>Genel Toplam</th>
<th>Ödeme Yöntemi</th>
<th>Sipariş Tarihi</th>
<th>Sil</th>
<th>Detay</th>
</tr>
</thead>
<tbody>
<?php
$sorgu = 'ORDER BY id DESC LIMIT '.$baslangic.','.$limit;
if($_POST AND !empty($_POST['ara'])){
$sorgu = " AND (ad LIKE '%{$_POST['ara']}%' OR soyad LIKE '%{$_POST['ara']}%' OR id LIKE '%{$_POST['ara']}%' OR email LIKE '%{$_POST['ara']}%' OR telefon LIKE '%{$_POST['ara']}%' ) ORDER BY id DESC ";
}
$query = $db->query("SELECT * FROM siparis WHERE dil = '{$dil}' AND durum = '{$etap_id}' {$sorgu}", PDO::FETCH_ASSOC);
if($query->rowCount()){
foreach( $query as $row ){
echo '<tr>
<td>
<input type="checkbox" name="siparis_id[]" value='. $row['id'] .'>
</td>
<td>'.$row['id'].'</td>
<td>'.$row['ad'].' '.$row['soyad'].'</td>
<td>'.$row['telefon'].'</td>
<td>'.$row['email'].'</td>
<td>'.fiyat_noktali($row['genel_toplam']).' TL</td>
<td>
'.$odeme_yontemleri[$row['odeme_yontemi']].'<br>';
if($row['odeme_yontemi'] == 1){
if($row['kredi_karti_odeme_durumu'] == 0){
echo '<b style="color:red">Ödeme Yapılmamış</b>';
}else{
echo '<b style="color:green">Ödeme Alındı</b>';
}
}
echo '</td>
<td>'.date('Y-m-d H:i:s',$row['kayit_tarih']).'</td>
<td><a href="'.$dil.'/'.$sayfa.'/'.$etap_id.'?id='.$row['id'].'" class="btn btn-info btn-sm text-white">Sil</a></td>
<td><a href="'.$row['dil'].'/siparis/duzenle/'.$row['id'].'" class="btn btn-success btn-sm text-white"><i class="fe fe-edit"></i> Detay</a></td>
</tr>';
}
}else{
echo '<tr>
<td colspan="11" class="text-center">
<img src="assets/images/veriyok.svg" class="wd-15p ">
<h5 class="mg-b-10 mg-t-15 tx-18">Veri Bulunamadı.</h5>
</td>
</tr>';
}
?>
</tbody>
</table>
<input type="checkbox"
bunu
<input type="checkbox" checked="checked"
yaparsan olur herhalde.