You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
//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 />";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|