"home.php"                "/>  "home.php"                ">
Home > Backend Development > PHP Tutorial > 问几个容易的php疑问

问几个容易的php疑问

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:47:50
Original
1036 people have browsed it

问几个简单的php疑问
public $button = array("Home" => "home.php"
                       "Contact => "Contact.php");

请问 这个数组中这样写【"Home" => "home.php"】是什么意思? 

.menu{
//other code;
}

我看过代码中的.menu是什么意思?

p{
}
p.foot{
}
请问 p.foot是什么意思?
------解决方案--------------------

public $button = array("Home" => "home.php"<br />                       "Contact => "Contact.php");
Copy after login

php的数组可以是关联键数组和下标数组
每个成员用
关联键 => 值

下标 => 值
表示

.menu{<br />//other code;<br />}
Copy after login
样式表CSS的 .menu 指定一个名为 menu 的类(class=menu)所具有的的属性值

p.foot{<br />}
Copy after login
指定 p 标记中的 foot 类的属性值

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