| Current Path : /home/evliyala/silsileler.com/ |
| Current File : /home/evliyala/silsileler.com/aramasonuc.php |
<?php require_once("header.php");
?>
<a name="ust"><div class=" m-5" style="clear: both;"></div> </a>
<div class=" px-auto col-12 pt-3 mt-5 mb-5" style="margin: auto;">
<div class="px-auto mt-5 mb-5" style=" text-align: center; margin: auto;">
<div class="container col-sm-4" style="margin-bottom: 75px;">
<a href="index.php">Ana Sayfaya Dön</a><h2><br>Arama Sonuçları</h2>
<div >
</table>
<table class="table table-dark table-striped table-hover" style="text-align:center">
<thead>
<tr class="table" >
<th style="color: white; background-color: #4CAF50;">EVLİYA</th>
</tr>
</thead>
<tbody>
<?php
$veri=$_POST["ara"];
$buton=$_POST["buton"];
if ($buton):
$ara="SELECT * FROM muhterem where ad LIKE '%$veri%'";
$sonuc=$db->prepare($ara);
$sonuc->execute();
$b=$sonuc->get_result();
if ($b->num_rows!=0) :
while ($satir= $b->fetch_assoc()):
echo '<tr style="border-bottom: 1px solid #ddd; color: white; margin-top: 2px;">
<td style="color: white;"><a style="color: white;" href="/detaylar/'.$dahilet->seo($satir["ad"]).'/'.$satir["id"].'">'.$satir["ad"].'</a></td>
</tr>
';
endwhile;
endif;
endif;
?>
</tbody></table></div></div>
<?php require_once("footer.php");
?>