View Full Version : Mathematical formula

07-26-2009, 06:50 PM
How can I include a mathematical formula in my site page?
I want to give the possibility to my site visitors to calculate their BMI (body mass index) by giving their height and weight. Thank you

07-26-2009, 09:08 PM
You mean that you want to add a calculator.

They can be added in 3 ways:

1. Using Javascript, directly in the page, without refreshing.
2. Using Ajax, more or less like above, using Javascript to perform the Ajax call and php for the calculations.
3. Using only PHP (refreshing the page).

All three ways require coding experience, the last one is probably the easiest.

07-26-2009, 09:47 PM
Free BMI calculator script to put on your website

Try it first on a blank page


There are others free BMI calculators.

You just have to search for

"Free BMI calculator script"


Karen Mac
07-26-2009, 10:35 PM
Or use a google gadget..