<pre><pre lang="PHP"><pre><div class="section"> <div class="container"> <div class="titleTop"> <h3>Browse By <span>Categories</span></h3> </div> <ul class="row catelist"> <?php $i = 0;?> <?php if (!empty($categorys)): foreach ($categorys as $v_category) : ?> <li class="col-md-4 col-sm-6"> <a href="<?php echo base_url(); ?>job/category_and_level_job/<?php echo $v_category->job_category_id; ?>/3"><?php echo $v_category->job_category_name; ?> </a> </li> <?php endforeach; ?> <!--get all category if not this empty--> <input type="hidden" id="countOfi" value="<?php echo $i++;?>"> <?php else : ?> <!--get error message if this empty--> <li> There is no record for display </li> <!--/ get error message if this empty--> <?php endif; ?> </ul> </div> </div> <!-- Categories ends -
<pre><?php echo $v_category->job_category_name; ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)