In the form we have a method property, he can let the form is post and get, in PHP should use the corresponding get,post to receive, let me introduce the method parameter description
1. It was used before, when the form form post commits, the URL of the action passes the get parameter, which is available on the server side:
The code is as follows |
Copy Code |
Print_r ($_get); Print_r ($_post); ?>
|
2. However, if your form submission type is Get,url, the parameters passed are not available:
The code is as follows |
Copy Code |
/** * Test get and post submissions * @link (http://www.bKjia.c0m) */ Print_r ($_get); Print_r ($_post); ?>
|
http://www.bkjia.com/PHPjc/632751.html www.bkjia.com true http://www.bkjia.com/PHPjc/632751.html techarticle in the form we have a method property, he can let the form is post and get, in PHP should use the corresponding get,post to receive, let me introduce the method parameter description 1 .