exit;
        }
    } else {
        header("Location: ../../controller/login.php");
        exit;
    }
} else {
    header("Location: ../../controller/login.php");
    exit;
}
$usuario = $_SESSION['usuario'];
$idE = base64_decode($_GET['id']);
?>
  <?php 
try {
    $cuadro = $cuadroC->seleccionar_alergia1($idE);
} catch (Exception $e) {
    echo "Ha ocurrido un error";
}
if ($cuadro != null) {
    foreach ($cuadro as $key => $bl) {
        $nomAlergia = $bl['nomAlerg'];
        $idAlergia = $bl['idAlerg'];
        ?>
        <?php 
    }
} else {
    echo "No hay datos";
}
?>