<?php
if(isset($_POST['doPost'])){
echo $_POST["tal_1"] . " " . $_POST["tal_2"] . " " . $_POST["tal_3"];
}else{
$tal1=rand(1,10);
$tal2=rand(1,10);
$tal3=$tal1+$tal2
}
?>
<form>
<input type='hidden' name='tal_1' value='<?= $tal1 ?>' />
<input type='hidden' name='tal_2' value='<?= $tal2 ?>' />
<input type='hidden' name='tal_3' value='<?= $tal3 ?>' />
<input type='submit' name='doPost' value='gogo' />
</form>
nu ved jeg ik helt hvad du vil med de der tal, de kan dog rettes fra clientens side af nu..