OK i am making a form that calculates line 1+ line 2 +*.01% then adds line 3+ line 4 then gives a total. I am having a problem with *.01 it works with just the first two but when i add the last two it drops one line if i take it out all four add fine.
<?php
if (count($_POST) > 0 && isset($_POST["calc15TextArea2"])){
// add First and Second Numbers
$sum = $_POST["indexEditbox1"] + $_POST["indexEditbox2"]*.01+ $_POST ["calc15Editbox3"] + $_POST ["calc15Editbox4"];
// their sum is diplayed as
echo "Total is $ $sum";
}
?>