<div class="row"> <div class="col-md-12"> <table class="table"> <thead> <tr> <th>Task Title</th> <th>Task Description</th> <th>Date-Time</th> <th>Status</th> <th>Task Actions</th> <th>Status Edit</th> </tr> </thead> <tbody> <?php $result = $user->task_view($id); $secure = ""; foreach ($result as $row) { ?> <tr> <td><?php echo $row['task_title']; ?> </td> <td><?php echo $row['task_description']; ?> </td> <td><?php echo $row['date']; ?>