The $_POST Function
The built-in $_POST function is used to collect values from a form sent with method="post".
Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.
"form action="welcome.php" method="post"
Name: input type="text" name="fname"
Age: input type="text" name="age"
input type="submit"
form"
The $_GET Function
The built-in $_GET function is used to collect values from a form sent with method="get".
"form action="welcome.php" method="get"
Name: input type="text" name="fname"
Age: input type="text" name="age"
input type="submit"
form "
PHP Form Handling
The most important thing to notice when dealing with HTML forms and PHP is that any form element in an HTML page will automatically be available to your PHP scripts.
"html
body
form action="welcome.php" method="post"
Name: input type="text" name="fname"
Age: input type="text" name="age"
input type="submit"
form
body
html"
By ShYaM...
The built-in $_POST function is used to collect values from a form sent with method="post".
Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.
"form action="welcome.php" method="post"
Name: input type="text" name="fname"
Age: input type="text" name="age"
input type="submit"
form"
The $_GET Function
The built-in $_GET function is used to collect values from a form sent with method="get".
"form action="welcome.php" method="get"
Name: input type="text" name="fname"
Age: input type="text" name="age"
input type="submit"
form "
PHP Form Handling
The most important thing to notice when dealing with HTML forms and PHP is that any form element in an HTML page will automatically be available to your PHP scripts.
"html
body
form action="welcome.php" method="post"
Name: input type="text" name="fname"
Age: input type="text" name="age"
input type="submit"
form
body
html"
By ShYaM...