Get methods are used to send data to the server.
(i) GET method data is sent through query string and display browser’s address field.
Note:- in the above URL first query string add through ? mark after that add query string through & mark.
(ii) GET method is mostly used for submitting a small amount and less sensitive data.
How to get form field’s value through GET method
You can get form fields value through $_GET array method.
(i) POST method data is sent by standard input (nothing shown in browser’s address field).
(ii) POST method is mostly used for submitting a large amount or sensitive data.
How to get form field’s value through POST method
You can get form fields value through $_POST array method.