public function presentacionTurnos($datos) { $oLMantenimientoGeneral = new LMantenimientoGeneral(); $arrayFilas = $oLMantenimientoGeneral->presentacionTurnos($datos); $turnosDescripcion = ''; foreach ($arrayFilas as $i => $value) { if ($value[6] != '') { if ($turnosDescripcion == '') { $turnosDescripcion = $value[6]; } else { $turnosDescripcion = $turnosDescripcion . '--' . $value[6]; } } } //$txtTurnos = '<input type="text" size="80" name="txtdescripcionTurno" value="'.$turnosDescripcion.'"/> '; $txtTurnos = '<table ><tr><td><h2><font color="red"><b>' . $turnosDescripcion . '</b></font></h2></td></tr></table>'; // $txtTurnos = '<select id="cboSedeEmpresaArea" name="cboSedeEmpresaArea" style="width: 200px;">'; // $cboSedeEmpresaArea.='<option value="' . $value[0] . '|' . $value[1] . '">' . htmlentities($value[2]) . '</option>'; return $txtTurnos; }