<h1>The 7-times table</h1>
<p>
<?php
// $i is our variable (it's a bit like algebra)
// It'll go from 1 to 10, adding one (++) each time
for( $i = 1; $i <= 10; $i++ ) {
// Print out the question...
echo "7 × $i = ";
// ...and the answer...
echo ( 7 * $i );
// ...and a HTML line break
echo "<br>";
}
?>
</p>