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

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

WBOY
Release: 2016-06-13 13:02:53
Original
991 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template