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.