Ejemplo n.º 1
0
 foreach ($turnos as $key => $turno) {
     echo '<option value="' . $turnos[$key][0] . '">' . $turnos[$key][2] . ' - ' . $turnos[$key][1] . '</option>';
 }
 ?>
                        </select>
                        <!-- <a href="">Pesquisar</a> -->
                     </td>
                     <td><a href="#divturno" id="mostraturno"><img style="cursor: pointer" width="25px" height="25px"src="../images/add.png"></a></td>
                  </tr>
                  <tr>
                     <td><span>CBO:*</span></td>
                     <td colspan="3">
                        <?php 
 //buscar array de CBO
 $cbo = new Cbo();
 $cbos = $cbo->get_name_all_cbo();
 ?>
                        <select name="cbo" id="cbo" style="width:80%">
                           <option>Selecione um cbo</option>
                           <?php 
 foreach ($cbos as $key => $cbo) {
     echo '<option value="' . $cbos[$key][0] . '">' . $cbos[$key][1] . '</option>';
 }
 ?>
                        </select>
                        <!-- <a href="">Pesquisar</a> -->
                     </td>
                     <td><a href="#divcbo" id="mostracbo"><img style="cursor: pointer" width="25px" height="25px"src="../images/add.png"></a></td>
                  </tr>
                
                  <tr>