Hi, I'm looking to add to results from different text fields together via an arithmetic operator, e.g. $a + $b.
So, why doesn't the following work?
<?php
$sum = "$a + $b";
echo $sum;
?>
I'm sure I've done something wrong, as I'm a PHP beginner so any help would be appreciated.