Hello,
I've got a sql database with fields and few data
Id - Name - Water - Sucker - Flour
1 - Iris - 60 - 20 - 20
2 - Ostra - 40 - 10 - 50
3 - Paris - 30 - 60 - 10
4 - Ristro - 25 - 33 - 42
I'd like a very simple page where user select two name and a button to validate.
After validation, a result appear.
The result is the average of Water - Sucker and Flour
Example
Recipe 1 : [ -- (here the user the name of the recipe) --] data example : Iris
Recipe 2 : [ -- (here the user the name of the recipe) --] data example : Ristro
Validation : [ -- (here the user click a button) --]
Result = Water - Sucker - Flour
42.5 % - 26.5 % - 31 %
Php has calculated the average of each ingredient
In the example : Iris Water = 60 , Ristro example = 25
60 + 25 = 85
85/2 = 42.5
Same for Sucker and Flour.
I hope that I'm clear. :)
I will pay with paypal.
I'm not a company, no need invoices.
Thank you.