x
 
<!DOCTYPE html>
<html>
<body>
<?php
$a = 13;
if ($a > 10) {
  echo "大于 10";
  if ($a > 20) {
    echo " 并且也大于 20";
  } else {
    echo " 但不大于 20";
  }
}
?>
</body>
</html>