<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Nine Nine Multiplication Table</title>
</head>
<body>
<?php
echo "================Nine Nine Multiplication Table ===================<br />";
for($r=1;$r<=9;$r++){
for($c=1;$c<=$r;$c++){
echo "{$c}*{$r}=".$c*$r."  ";
}
echo "<br />";
}
echo "<br />";
echo "=====================Nine Nine Multiplication Table =======================<br />";
echo '<table width="600" border="1"';
for($r=1;$r<=9;$r++){
echo '<tr>';
for($c=1;$c<=$r;$c++){
echo "<td>{$r}*{$c}=".($r*$c)."</td>";
}
echo '</tr>';
}
echo '</table>';
echo "<br />";
echo "=====================Nine Nine Multiplication Table =======================<br />";
echo '<table width="600" border="1"';
for($r=9;$r>=1;$r--){
echo '<tr>';
for($c=1;$c<=$r;$c++){
echo "<td>{$r}*{$c}=".($r*$c)."</td>";
}
echo '</tr>';
}
echo '</table>';
echo "<br />";
echo "=====================Nine Nine Multiplication Table =======================<br />";
echo '<table width="600" border="1"';
for($r=1;$r<=9;$r++){
echo '<tr>';
for($c=0;$c<$r-1;$c++){
echo "<td> </td>";
}
for($c=$r;$c<=9;$c++){
echo "<td>{$r}*{$c}=".($r*$c)."</td>";
}
echo '</tr>';
}
echo '</table>';
echo "<br />";
echo "=====================Nine Nine Multiplication Table =======================<br />";
echo '<table width="600" border="1"';
for($r=1;$r<=9;$r++){
echo '<tr>';
for($c=1;$c<=9-$r;$c++){
echo "<td> </td>";
}
for($c=1;$c<=$r;$c++){
echo "<td>{$r}*{$c}=".($r*$c)."</td>";
}
echo '</tr>';
}
echo '</table>';
?>
</body>
</html>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Nine Nine Multiplication Table</title>
</head>
<body>
<?php
echo "================Nine Nine Multiplication Table ===================<br />";
for($r=1;$r<=9;$r++){
for($c=1;$c<=$r;$c++){
echo "{$c}*{$r}=".$c*$r."  ";
}
echo "<br />";
}
echo "<br />";
echo "=====================Nine Nine Multiplication Table =======================<br />";
echo '<table width="600" border="1"';
for($r=1;$r<=9;$r++){
echo '<tr>';
for($c=1;$c<=$r;$c++){
echo "<td>{$r}*{$c}=".($r*$c)."</td>";
}
echo '</tr>';
}
echo '</table>';
echo "<br />";
echo "=====================Nine Nine Multiplication Table =======================<br />";
echo '<table width="600" border="1"';
for($r=9;$r>=1;$r--){
echo '<tr>';
for($c=1;$c<=$r;$c++){
echo "<td>{$r}*{$c}=".($r*$c)."</td>";
}
echo '</tr>';
}
echo '</table>';
echo "<br />";
echo "=====================Nine Nine Multiplication Table =======================<br />";
echo '<table width="600" border="1"';
for($r=1;$r<=9;$r++){
echo '<tr>';
for($c=0;$c<$r-1;$c++){
echo "<td> </td>";
}
for($c=$r;$c<=9;$c++){
echo "<td>{$r}*{$c}=".($r*$c)."</td>";
}
echo '</tr>';
}
echo '</table>';
echo "<br />";
echo "=====================Nine Nine Multiplication Table =======================<br />";
echo '<table width="600" border="1"';
for($r=1;$r<=9;$r++){
echo '<tr>';
for($c=1;$c<=9-$r;$c++){
echo "<td> </td>";
}
for($c=1;$c<=$r;$c++){
echo "<td>{$r}*{$c}=".($r*$c)."</td>";
}
echo '</tr>';
}
echo '</table>';
?>
</body>
</html>