";
print "Height:
\n";
print "Weight:
\n";
print "
";
print "";
if (strlen($weight) > 0 and strlen($height) > 0)
{
$bmi = $weight * 703 / ($height * $height);
print "For weight=\"$weight\" and height=\"$height\"";
print " your BMI is $bmi";
}
elseif (empty($weight) or empty($height))
{
print "Fill in the form";
}
?>