Пример #1
0
        } 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 {
    $banc = $banco->seleccionar_banco1($idE);
} catch (Exception $e) {
    echo "Ha ocurrido un error";
}
if ($banc != null) {
    foreach ($banc as $key => $bl) {
        $nomBanco = $bl['nomBanc'];
        $numCuenta = $bl['numCuentaBanc'];
        $idBanc = $bl['idBanc'];
    }
} else {
    echo "No hay datos";
}
?>
<!DOCTYPE html>
<html>