<div class="carousel-inner">
<?php
$emlak_id=$emlakcek['emlak_id'];
$emlakfotosor=$db->prepare("SELECT * FROM emlakfoto where emlak_id=:emlak_id order by emlakfoto_sira ASC limit 1 ");
$emlakfotosor->execute(array(
'emlak_id' => $emlak_id
));
$emlakfotocek=$emlakfotosor->fetch(PDO::FETCH_ASSOC);
?>
<div style="max-width:100; max-height:200;" class="carousel-item active ">
<img class="img-fluid" style="max-width:100; max-height:200;" src="<?php echo $emlakfotocek['emlakfoto_resimyol'] ?>" alt="First slide">
</div>
<?php
$emlak_id=$emlakcek['emlak_id'];
$emlakfotosor=$db->prepare("SELECT * FROM emlakfoto where emlak_id=:emlak_id order by emlakfoto_sira ASC limit 1,10 ");
$emlakfotosor->execute(array(
'emlak_id' => $emlak_id
));
while($emlakfotocek=$emlakfotosor->fetch(PDO::FETCH_ASSOC)) {
?>
<div style="max-width:100; max-height:200;" class="carousel-item">
<img class="img-fluid" style="max-width:100; max-height:200;" src="<?php echo $emlakfotocek['emlakfoto_resimyol'] ?>" alt="Second slide">
</div>
<?php } ?>
<a style="" class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>