m1/www/public/upp3/calculate.php

7 lines
105 B
PHP
Raw Normal View History

2024-09-03 12:50:13 +00:00
<?php
$Nr1 = $_POST['n1'];
$Nr2 = $_POST['n2'];
$sum = $Nr1 + $Nr2;
echo "Summan av talen är " . $sum;