Home  >  Article  >  Backend Development  >  php容易例子-打印出99乘法表

php容易例子-打印出99乘法表

WBOY
WBOYOriginal
2016-06-13 13:02:53971browse

php简单例子--打印出99乘法表
php简单例子--打印出99乘法表:

<?php
//php打印出九九乘法表
for ($i=1; $i<10; $i++){
	for ($j=1; $j<=$i; $j++){
		echo $j*$i;
		echo ' ';
	}
	echo '<br />';
}
?>

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