ok, im trying to set up a small formual with adding, multiplying and dividing. this is what it looks like

<?php echo $row_tct['one'] + $row_tct['two'] *3 *.4400 *1.1; ?>

now the foruma is ['one'] + ['2'] (times 3) (divided by 4400) (times 10%)

now, im pritty sure im messing up where the divided by is, but i never use division in this.

for example

put in 4 for ['one'] and 3 for ['2'] and for the product it says ( 6.0454545454545 )

now i know that to divide something by 2 you would put *0.5 but what would you put to divide somethng by 4,400

    Oh, well i figured it out, it came out looking like this. i needed 5 feilds to make it work.

     
    Feild One - Value
    Feild Two - Value
    Feild Three - <?php echo $row_tct['one'] + $row_tct['two']; ?>
    Feild Four - <?php echo $row_tct['four'] = $row_tct['three'] *3; ?>
    Feild Five<?php echo $row_tct['five'] = $row_tct['four'] /4400 *1.1 ?>
    
      Write a Reply...