<html>
<body>
<h1>A 'while' Loop</h1>
<h2>Print 1 through 10 Vertically</h2>

<?php
        print '<table border="1">';

        $num = 1;

        while ($num <= 10)
        {
                print "<tr><td width='20' align='right'> $num </td></tr> \n";
                $num++;
        }
                
        print "</table> \n";             
?>

<?php include "../include.php"; ?>              <!-- hyperlink to see the code -->
</body>
</html>