PHP - Conditional to show/hide value

0 votes
222 views
added Nov 8, 2019 in PHP by lcjr First Warrant Officer (11,850 points)
<!--breadcrumb condition-->
<?php if (!empty($breadcrumb)): ?>
  <div class="<?php print $container_class; ?> m-b-25">
    <!-- Breadcrumb -->
    <?php print $breadcrumb; ?>
  </div>
<?php endif; ?>

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...