";
echo "The second number is: ".$a2." ";
echo "The answer is ".$add;
}
if(isset($_POST['s']))
{
$s1 = $_POST['s1'];
$s2 = $_POST['s2'];
$sub = $s1-$s2;
echo "YOU HAVE CHOSEN SUBTRACTION"." ";
echo "The second number is: ".$s2." ";
echo "The answer is ".$sub;
}
if(isset($_POST['m']))
{
$m1 = $_POST['m1'];
$m2 = $_POST['m2'];
$MUL = ($m1)*($m2);
echo "YOU HAVE CHOSEN ADDITION"." ";
echo "The second number is: ".$m2." ";
echo "The answer is ".$MUL;
}
if(isset($_POST['d']))
{
$d1 = $_POST['d1'];
$d2 = $_POST['d2'];
$DIVIDE = $d1=$d2;
echo "YOU HAVE CHOSEN ADDITION"." ";
echo "The second number is: ".$d2." ";
echo "The answer is ".$DIVIDE;
}