From 603fcd9bdd2c44a0fc7d4e3c9d1b3ccb6ed815c4 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Fri, 23 Dec 2022 16:36:54 +0000 Subject: [PATCH] - Set up user balance calculations - Display balances on page --- index.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index 328b258..ae785ec 100644 --- a/index.php +++ b/index.php @@ -25,12 +25,18 @@

Balances

- + + $usr1Balance = userBalance($usr1Vault,3); + $usr2Balance = userBalance($usr2Vault,3); + + echo '

Zarathos balance: '.formatMoney($usr1Balance).'

'; + echo '

Symos balance: '.formatMoney($usr2Balance).'

'; + ?> +