first commit

This commit is contained in:
Tóth Ádám
2024-11-19 19:04:02 +01:00
commit de464b937d
8837 changed files with 493452 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?php
function kiertekeles() {
if (!isset($_POST["kg1"]) || !isset($_POST["kg2"]) || !isset($_POST["kg3"])) {
echo "Nem adtál meg minden értéket!";
}
else {
$baranyhus = 7900;
$tbone = 7500;
$ribeye = 6500;
echo "Megrendelését rögzítettük, fizetendő összeg: ".$baranyhus * $_POST["kg1"] + $tbone * $_POST["kg2"] + $ribeye * $_POST["kg3"]." Ft";
}
}
?>