A few simple php questions

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.