</div> <div id="dia2" style="float:left;"> <p style="font-size:12px;"> Hasta : <input id="txtfecha2" type="text" name="txtfecha2" size="9" onclick="calendarioHtmlxActoMedicoEstadistica('txtfecha2')" maxlength="10" value="<?php echo date("d/m/Y"); ?> " > </div> </td> </tr> <tr> <td style="padding:5px;"> <?php require_once "../../cdatos/DReporte.php"; $o_DatosReporte = new DReporte(); $resultado = $o_DatosReporte->tablaAmbiFi(); ?> <div id="afiliacion" style="float:left;display: none"> <p style="font-size:12px;">Afiliacion : <select id="cbxafiliacion"> <?php foreach ($resultado as $key => $value) { ?> <option value="<?php echo $value[0]; ?> "><?php echo $value[1]; ?> </option> <?php
public function tablaAmbiFi() { $o_DReporte = new DReporte(); $respuesta = $o_DReporte->tablaAmbiFi(); foreach ($respuesta as $key => $value) { array_push($respuesta[$key], "../../../imagen/icono/bajarAngel.png ^ Agregar"); } return $respuesta; }