Home > php教程 > php手册 > PHP输出九九乘法表代码实例

PHP输出九九乘法表代码实例

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 09:09:14
Original
963 people have browsed it

PHP输出九九乘法表代码实例

 这篇文章主要介绍了PHP输出九九乘法表代码实例,本文直接给出实现代码,需要的朋友可以参考下

 

 

?

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

九九乘法表

 

 

for ($i=1; $i

{

echo("

");

for ($j=1; $j

{

echo("

");

}

echo("

");

}

?>

九九乘法表

if ($i == $j)

{

echo(" style=\"color: #FF0\"");

}

echo(">");

$s = $i * $j;

echo "$i * $j = $s";

echo("

 

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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template