<html>
<body>
<h1>A 'for' Loop</h1>
<h2>Print 1 through 10 in an HTML table</h2>
<?php
        print '<table border="1">';
        print '<tr>';

        for ($num =1; $num <= 10; $num++)
                print "<td> $num </td>";
                
        print '</tr>';
        print '</table>';
                 
?>
<?php include "../include.php"; ?>              <!-- hyperlink to see the code -->
</body>
</html>