if (count($_POST) > 0 && isset($_POST["Num1"]) && isset($_POST["Num2"])){
// add First and Second Numbers
$sum = $_POST["Num1"] + $_POST["Num2"];
// their sum is diplayed as
echo “The sum of First Number (“.$_POST["Num1"].”) and
Second Number (“.$_POST["Num2"].”) is $sum”;
}
?>