first and second.
This script will now exit.\n");
exit(0);
}
echo "
The value of \$first is {$_GET['first']}.
";
echo "The value of \$second is {$_GET['second']}.
";
$product = $_GET['first'] * $_GET['second'];
echo "The product of the two values is $product.
";
echo "The sum of the two values is
{$_GET['first']} + {$_GET['second']} = "
. ($_GET['first'] + $_GET['second']) //Note: Parentheses required here!
. ".
";
?>