anantamu.com
PHP - Introduction
PHP - Setup
PHP - Syntax
PHP - String
PHP - constants
PHP - Operators
PHP - Superglobals
PHP Forms PHP - Forms
MySQL
MySQL - Create DB
MySQL - Update Data
MySQL - Delete Data


PHP Forms


Get the form values data through $_GET or $_POST.


PHP Form Handling

POST METHOD :

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.
Firstname: <?php echo $_POST["firstname"]; ?>
Lastname: <?php echo $_POST["lastname"]; ?>
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.

School