<div class="panel-body"> <div class="table-responsive"> <table class="table table-striped table-bordered table-hover" id="dataTables-example"> <thead> <tr> <th>Teacher Id </th> <th>Name</th> <th>Description</th> <th>Status</th> <th>Action</th> </tr> </thead> <tbody> <?php foreach ($deparment->departmentList() as $a) { ?> <tr class="odd gradeX"> <td><?php echo $a['department_id']; ?> </td> <td><?php echo $a['name']; ?> </td> <td><?php echo $a['description']; ?> </td> <td><?php