打开php网页时出现了下面的提示

打开php网页时出现了下面的提示

在打开PHP网页时出现了下面的提示

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/lk/public_html/body.php on line 9

是服务器配置的错误还是PHP网页的错误啊?
PHP网页如下:
<html>
<body bgcolor="#ccff00">
<?php
   echo "your height is $height cm<br>";
   echo "your weight is $weight kg<br>";
   $tmp = $height / 100;
   $result = $weight / $tmp/$tmp;
   echo "your BMI is $result <br>";
   if ($result > 24 )echo "you are overweight<br>";
   else if (sresult < 20 )echo "you are too skinny<br>";
   else echo "you are fit <br>";
?>
</body>
</html>      
else if (sresult < 20 )echo "you are too skinny

sresult写错了吧.提示body.php的第九行出错.缺少;号.      
就是,应该是这样的
<?
echo "your height is $height cm
";
echo "your weight is $weight kg
";
$tmp = $height / 100;
$result = $weight / $tmp/$tmp;
echo "your BMI is $result
";
if ($result > 24 )echo "you are overweight
";
else if ($result < 20 )echo "you are too skinny
";
else echo "you are fit
";
?>