mi1an
mi1an's Blog

mi1an's Blog

Print Table of any number Program in PHP

mi1an's photo
mi1an

Published on Apr 22, 2021

1 min read

<?php  

$num1 = 3;
$res = 0;

for($i=1 ; $i<=10 ; $i++) 
    {
        $res = $num1 * $i;
        echo $num1 . " X " . $i . " = " . $res . "<br>";
    }

?>
 
Share this