This is the code in question ~ Why will num1 and num2 not get added in between the php tags. It is a youtube tutorial so no community to ask there
<form action="site.php" method="get">
<input type="number" name="num1">
<br>
<input type="number" name="num2">
<br>
<input type="submit">
</form>
<br>
<?php
echo $_GET["num1"] + $_GET["num2"] ?>