Hi,
How can I implement the part below that I do not want to display on the last result?
<?php foreach ($products->result() as $row): ?>
<h3><?= $row->header; ?></h3>
<p><?= $row->teaser; ?> </p>
<a href="">Read More</a>
<!-- DONT DISPLAY THIS LAST LINE IF ITS THE LAST RECORD -->
<div class="divider"></div>
<?php endforeach; ?>
Thanks