==2==You sent me the values "
. $_GET['first'] . " and " . $_GET['second']
. ".
==2==Here is their product: "
. $_GET['first'] * $_GET['second'] . "";
echo "==3==You sent me the values $_GET[first] and $_GET[second].";
//Note in the above statement that within the double quoted string
//there are no single quotes surrounding first or second, which works
//but is not necessarily the recommended way to access the array values.
//If you want to put everything inside double quotes, including array
//values that you want interpolated, you can do it this way:
echo "==4==You sent me the values
{$_GET['first']} and {$_GET['second']}.
";
//In any case, be careful not to do this ... it doesn't work:
//echo "You sent me the values $_GET['first'] and $_GET['second'].";
?>