PHP Compiler
<!DOCTYPE html> <html> <body> <?php $table = 9; $length = 10; $i = 1; echo "Multiplication table: $table <br>"; do{ echo "$i * $table = ".$i * $table ."<br>"; $i++; }while($i <= $length); ?> </body> </html>
OUTPUT
Multiplication table: 9
1 * 9 = 9
2 * 9 = 18
3 * 9 = 27
4 * 9 = 36
5 * 9 = 45
6 * 9 = 54
7 * 9 = 63
8 * 9 = 72
9 * 9 = 81
10 * 9 = 90
×

Save as Private