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