0
I’m doing a while, but I need the value to be displayed active only in the first item <div class="item ACTIVE">
.
<div class="carousel-inner">
<?php $exibir = "active"; do { ?>
<div class="item ACTIVE">
<h1 class="title">
<?php echo $row_rsBanner["titulo"]; ?>
<span class="subtitle"><?php echo $row_rsBanner["mensagem"]; ?></span></h1>
<div class="car-img">
<img src="img/car1.png" class="img-responsive" alt="car1">
</div>
</div>
<?php } while ($row_rsBanner = $rsBanner->fetch_assoc()); ?>
</div>
How to display only on the first loop and the others not?
Thank you.
Can you help me with that? https://answall.com/questions/366909/whire-entre-hora-inicial-e-final-com-m%C3%Baltiplos-de-30-minutes
– Tiago