Ok, I kinda got it to work, just a little tweaking to do. This is what I have:
elseif($operator == '/r')
{
$b = $numa % $numb;
$u = $numa - $b;
$v = "$u / $numab";
echo "The answer is $v remainder $b";
}
now lets say $numa = 10 and $numb = 3, then I will get something like:
The answer is 9 / remainder 1
so, i remove the "in the $v equation and I get a "Cannot divide by 0". how can I get rid of the / after the 9?