The predefined $ _ GET variable is used to collect values from the form of method & quot; get & quot. The information sent from a form with the GET method is visible to anyone (displayed in the address bar of the browser), and the amount of information sent is limited. Let's take a look at the figure and then see how this Demo achieves: $ _ GET variable
The predefined $ _ GET variable is used to collect values from the form of method = "get.
The information sent from a form with the GET method is visible to anyone (displayed in the address bar of the browser), and the amount of information sent is limited.
Let's take a look at the figure animation and see how this Demo is implemented:
String (9) "iwanghang" ["age"] => string (2) "10"} echo"
"; Echo $ _ GET ['name']."
"; // Print the result: iwanghang echo $ _ GET ['age']."
"; // Print the result: 18
Bytes --------------------------------------------------------------------------------------------------------------
Form submission:
The above is the content of PHP Development (11)-form submission-PhpStorm for Android programmers. For more information, see PHP Chinese website (www.php1.cn )!