PHP $_POST Variable

$_POST variable is an array of variable names and values sent by the HTTP POST method.

$_POST variable is used to collect values from a form 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.

Example


<form action="welcome.php" method="post">
Enter your name: <input type="text" name="name" />
Enter your age: <input type="text" name="age" />
<input type="submit" />
</form>

No comments:

Post a Comment