<html>
  <body>
   <ul>
    <?php
     $nr=0;
     while($nr<10){
       echo "    <li>Number $nr</li>";
       $nr=$nr+1;
     } 
    ?>
   </ul>
  </body>
</html>