POST Method is Secure,So It is used for registration purpose.
Send the form values by using Registration POST form as secure.
Display the form values after submitting data that are variables.
The output :Firstname: Real
Lastname: God
Note: POST Method is Secure.
GET METHOD :
GET Method is Insecure,So It is used for search purpose.
Send the form values is this "Real" by using Search GET form as insecure.
Display the form values after submitting data that are variables.
Firstname: <?php echo $_GET["firstname"]; ?>
The output :Firstname: Real
Note: GET Method is insecure.