Print Table of number Program in PHP


Prev Tutorial Next Tutorial

Print Table of any number Program in PHP

The simple concept to generate table of any number is; number*1, number*2......number*10.

Print Table of number Program in PHP

<?php  

define('NUM', 3); 

for($i=1 ; $i<=10 ; $i++) 
{ 
  echo $i*NUM; 
  echo '<br>';   
}

?>

Output

	
3
6
9
12
15
18
21
24
27
30

Prev Tutorial Next Tutorial

Advertisements
Download Projects

Advertisements

Download WhatsApp Status Video

Buy This Ad Space Only $50 per Month, Ad Size 300X250 Contact on: [email protected] WhatsApp no. 8882538826

Google Adsense Advertisements