//Write a program to find table of a number <?php if(isset($_POST['sub'])) { $num=$_POST['num']; echo "<h1><center>Table of " .$num."</center></h1>"; for($i=1;$i<=10;$i++) { echo $num*$i; echo "<br />"; } } ?>