public function task_Management() { $data['task'] = Tasks::getThemAll(); $data['vaccine'] = Vaccines::getThemAll(); $data['content_view'] = "add_task_view"; $data['title'] = "New task"; $this->base_params($data); }
?> <table border="0" class="data-table"> <tr> <th class="subsection-title" colspan="2">Input Parameters</th> </tr> <tbody> <tr> <td><span class="mandatory">*</span>Task name</td> <td> <select id="combo1" name="combo1"> <option value="chose">Choose One</option> <?php $task = Tasks::getThemAll(); foreach ($task as $tasks) { echo '<option value="'. $tasks['id'].'">'. $tasks['name'].'</option>'; } ?> </select></td> </tr> <tr> <td><span class="mandatory">*</span>Vaccine</td>