<table class="table table-hover"> <thead> <tr> <th colspan="7" class='text-center'>Registered Users</th> </tr> <tr> <th>First Name</th> <th>Middle Name</th> <th>Last Name</th> <th>Email Address</th> </tr> </thead> <tbody> <?php foreach ($controller->profile_list() as $list) { ?> <tr> <td><?php echo $list['firstname']; ?> </td> <td><?php echo $list['middlename']; ?> </td> <td><?php echo $list['lastname']; ?> </td> <td><?php