View file File name : Addaminity_list.php Content :<div class="container-fluid"> <div class="col-md-12 content-center loan-comparision1"> <div class="card-plain"> <h2 class="text-center"> MANAGE AMENITIES</h2> <table id="myTable" class="table-striped"> <thead> <tr> <th>Sr No</th> <th>Icon</th> <th>Name</th> <th>Last Created</th> <th>Last Updated</th> <th>Updated By</th> <th></th> <th></th> </tr> </thead> <tbody> <?php $count=0; foreach($tet as $dt){ $count+=1; ?> <tr> <td><?=$count?></td> <td><?=$dt->icon?></td> <td><?=$dt->name?></td> <td><?=$dt->last_created?></td> <td><?=$dt->last_updated?></td> <td><?=$dt->first_name?> <?=$dt->last_name?> </td> <td> <a href="<?=base_url()?>Addaminity/Delet_amminities?aminities_id=<?=$dt->id?>">Delete Amenity</a></td> <td> <a href="<?=base_url()?>Addaminity/Edit_amminities?aminities_id=<?=$dt->id?>">Edit Amenity</a></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div>