How does php obtain page element values?

Source: Internet
Author: User
How does php obtain the value of a page element? the page has an element & lt; input & nbsp; class = "easyui-datebox" & nbsp; id = "bt" & nbsp; name = "bt" & nbsp; value = & lt ;? Php & nbsp; echo & nbsp; date ("Y-m", how does php get the value of page elements?
Elements on the page
 Echo date ("Y-m", strtotime ("-4 month "));
?>
Echo date ("Y-m", strtotime ("-1 month "));

?>

Php methods are available on the same page.
Function initRows1 ($ bym, $ eym ){
......
}

What should I do if I want to pass the value of the page element into the page method?
------ Solution --------------------
Php runs on the server and cannot actively obtain any client information.
All client information that can be seen by php is sent by the client.
------ Solution --------------------
First, the differences between the client and the server and the data transmission method are clearly divided.

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.