php program to print multiplication table

 <html>

<body>

<?php

$a=15;

for($i=1;$i<=10;$i++)

{

echo $a*$i."<br>";

}

?>

</body>

</html>


Output

15
30
45
60
75
90
105
120
135
150

Comments