Questions about php

Source: Internet
Author: User
New users ask php questions & lt; inputtype = & quot; button & quot; value = & quot; & lt ;? Phpecho $ bnlanglog_operate_log ;? & Gt; & quot; class = & lt ;? Phpecho $ s1 ;? & Gt; questions about php

What does this sentence mean?

Also,


Why is from added before input? what does class mean? Thank you!

------ Solution --------------------
PHP is used to assign values to the value tag of input, which can be changed as you like.
------ Solution --------------------
Basic content
Form label is form
Input is input, where type is type, for example, hidden is hidden
Button is a button, textarea is an input box, etc.
Class is a CSS attribute, class =" "
The meaning attribute is determined by the value of the abc variable.
For example, $ abc = "myRed"
Then class = "myRed"
MyRed must be a custom style
------ Solution --------------------
Form is essential for submission, and clss is the style written by CSS,
Value =" "Value is used to output php variables.
Type = "button" is the submit button, which is submitted to the action processing page in the form.

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.