Hello, I am trying to make a script where a form will be submitted and each selection will have a cost and then it will add up the cost and add 100 to that. Anyway, I know how to do that, but I would like the answer to create create a new variable. Like, lets say the answer is 230, I want 230 to be another variable.... I tried using $result = $newnumber; and then echoing the new number to see if it worked but it wouldnt echo anything, it would be a blank page.... Here is my current script:
<body bgcolor="#006633" TEXT="#ffffff"><div align="center">
<?php
$number="5";
$second="6";
$number - $second + 100;
$result = $newnumber;
echo $newnumber;
?>
</body>