See attached script.
[login to view URL]
The problem I found is that these two lines: 223 & 224 do not work if I use value="<?=$var['data from previous page'];?>". As it is right now, neither does it work if there are fixed numbers value="570" & value="-$5.09".
NOW: $5.00 + $5.00 = $10.00 MINUS value="570" = -$10.00.
This is a good and clean script and what I need is for it to do calculation and show result based the data from previous page.
GOOD: $5.00 + $5.00 = $10.00 MINUS value="570" = $560.00
PERFECT: $5.00 + $5.00 = $10.00 MINUS value="570" = <?=$var['data from previous page'];?>.
My goal is to achieve perfection :)
Remember once on the other_step page, row one needs to show the actual VALUE. For
example :
$data = 100
row 3 = 10
row 4 = 10
VALUE = 80
Previous page: <input type="text" value="<?$data;?>" >
[login to view URL] table/ row one: row 3 + row 4 = row 3 AND row 4 MINUS <?$data;?> EQUALS 80
Remember I need row one to show the result VALUE ie: 80 :)