<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1">
<title>PHP Example</title>
</head>
<body>

<table border="1">
<?php
    for ($i=1; $i<=10; $i++) {
        echo "  <TR>\n";
        for ($j=1; $j<=5; $j++) {
            echo"    <TD ALIGN=\"right\">\n";
    
            // access a database perhaps?
            # or something do something elese such as
            echo $i*$j;
            echo "\n";
    
            echo"    </TD>\n";
        }
        echo "  </TR>\n";
    }
?>
</table>

</body>
</html>