$row = $obj->fetch(); $tid = $row['task_id']; $i++; } echo "</table>"; echo '</div>'; } } } break; case 10: if (isset($_REQUEST['id'])) { include_once 'tasks.php'; $obj1 = new tasks(); $id = intval($_REQUEST['id']); $obj1->get_task($id); $row = $obj1->fetch(); echo '<div id="divContent">'; echo '<table id="tableExample" class="reportTable">'; echo "<tr><th>Task</th><th>Assigned To </th>\n <th>Task Status </th><th>Date Started</th>\n <th>Date Finished</th><th>Due Date</th><th>Priority</th>\n <th> </th></tr>"; $i = 0; $fn = $row['nurse_fname']; $sn = $row['nurse_sname']; $description = $row['description']; $task_status = $row['task_status']; $date_started = $row['date_started']; $date_finished = $row['date_finished']; $due = $row['due_date']; $priority = $row['priority']; $nid = $row['nurse_id']; $tid = $row['task_id'];