S
|
swanside 11/12/2008 |
Can you not do it SQL? like Quantity*Value=Sum and save it that way? |
S
|
szjunior author 11/12/2008 |
Ok, it work, but when I save the form, the field that contains the calculation does not save, the other fields save normaly. Can you not do it SQL? like Quantity*Value=Sum and save it that way? |
J
|
Jane 11/13/2008 |
Hi, $var1 = $values["quantity"] ; $var2 = $values["value"] ; $sum = $var1 * $var2 ; $values["Total"] = $sum; |