I'm exercising the knowledge in PHP and I've had a question. How do I display a text after N DO loop repeats?
<?php do { ?>
<div class="fotos">
<h1><?php echo $titulo_da_foto; ?></h1>
<img src="upload/<?php echo $arquivo; ?>" />
</div>
<?php } while ($rsVarejo > 0); ?>
In this case, I would like to hide the background of the class photos in the 4th repetition, any suggestions?