<div class="table-responsive"> <table class="table table-striped table-bordered table-hover" id="dataTables-example"> <thead> <tr> <th>Teacher Id </th> <th>First Name</th> <th>Last Name</th> <th>Email Add</th> <th>Status</th> <th>Action</th> </tr> </thead> <tbody> <?php foreach ($teacher->teacherList() as $a) { ?> <tr class="odd gradeX"> <td><?php echo $a['teacher_id']; ?> </td> <td><?php echo $a['first_name']; ?> </td> <td><?php echo $a['last_name']; ?> </td> <td><?php