Ask a few simple php questions This post was last edited by u013257330 at 2014-01-0908: 08: 40 public & nbsp; $ button & nbsp; array (Home & nbsp; & gt; & nbsp; home. php & nbsp; & ask a few simple php questions
This post was last edited by u013257330 at 08:08:40
Public $ button = array ("Home" => "home. php"
"Contact =>" Contact. php ");
In this array, what does ["Home" => "home. php"] mean?
. Menu {
// Other code;
}
What does. menu in the code mean?
P {
}
P. foot {
}
What does p. foot mean?
Share: More
------ Solution --------------------
public $button = array("Home" => "home.php"
"Contact => "Contact.php");
Php arrays can be associated key arrays and subscript arrays.
Use
Join Key => value
Or
Subscript => value
Indicates
.menu{
//other code;
}The. menu of the style sheet CSS specifies the attribute value of a class named menu (class = menu)
p.foot{
}Specifies the attribute value of the foot class in the p tag