MySQL Forums
Forum List  »  PHP

Using visible Formulas from Testfield
Posted by: Roland Maracek
Date: March 23, 2022 03:14AM

I want provide a site where the user can input values in fields and also a formula to calculate what ever he oder her want.
example cubic meter calculation.

Field-A = 2
Field-B = 3
Field-C = 2,5
Field-Formula = (Field-A*Field-B)*Field-C

and in the Field Result it should shown the result of the calculation - in this example 15
Field-Result = 15

I want give the user the posibility to change the formuala in the field "Field-Formula" without change this in the sql statement :-)
Any i idea how i can fix this :-)

Options: ReplyQuote


Subject
Written By
Posted
Using visible Formulas from Testfield
March 23, 2022 03:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.