Print Table of number Program in PHP

Advertisements

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

Google Advertisment

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements