// What is the easiest way get these two values, store them in $total and make $total = to $first + $second and echo it in the html?
<form action="testing123.php" method="get">
1. <input type="text" name="first"><br>
2. <input type="text" name="second"><br>
<input type="submit">
</form>
<?php
$x = $_GET["first"];
$y = $_GET["second"];
$total = $x + $y;
?>
first: <?php echo $_GET["first"]; ?><br>
second: <?php echo $_GET["second"]; ?><br>
total: <?php echo $_GET["total"]; ?>