PHP BMI Calculator
Join the DZone community and get the full member experience.
Join For FreeThis is fairly uncomplicated and novice PHP code, but it's a PHP BMI (Body Mass Index) calculator. If anyone would like to modify it and give it fancy bells and whistles, be my guest.
Body Mass Index (BMI) - Calculator
Body Mass Index Calculator
What your results mean:
Your height is feet inches.
Your weight is lbs.
Your BMI is
24.9 && $BMI 29.9 && $BMI
To find out more about Body Mass Index scores, see
U.S. Department of Health and Human Services: Centers for Disease Control and prevention
BMI for Adults
PHP
Calculator (Mac OS)
Opinions expressed by DZone contributors are their own.
Comments