Home  >  Article  >  Backend Development  >  PHP 99 multiplication table code example_PHP tutorial

PHP 99 multiplication table code example_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:34:181052browse

The following PHP 99 multiplication table code example is for beginners to learn:

$a=1;

 $b=1;

 for ($a = 1;$a<=9;$a++)

 {

for ($b = 1;$b<=9;$b++) echo "$a*$b=".$a*$b."t";

echo "

";

 }

 ?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/752068.htmlTechArticleThe following PHP 99 multiplication table code example is for beginners to learn: $a=1; $b=1; for ($a = 1;$a=9;$a++) { for ($b = 1;$b=9;$b++) echo $a*$b=.$a*$b.t; echo ; } ?. ..
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn