From ae0881634334d2f1d22a2376180e03e800092e59 Mon Sep 17 00:00:00 2001 From: Tonik Date: Tue, 28 Apr 2026 20:15:57 +0200 Subject: [PATCH] =?UTF-8?q?Dzia=C5=82a,=20dodano=20=C5=BCe=20dzia=C5=82a..?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 41f4b6c..70ff103 100644 --- a/index.php +++ b/index.php @@ -23,6 +23,10 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { $plec = $_POST['plec']; $cel = $_POST['cel']; } + +$podstawa = obliczBMR($plec, $waga, $wzrost, $wiek); +$wynik = ustalCel($podstawa, $cel); + ?> @@ -61,7 +65,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { - +
Twoje zapotrzebowanie: kcal dziennie.