The PHP built-in $_REQUEST function contains the
contents of both $_GET, $_POST, and $_COOKIE.
The $_REQUEST function can be used to collect form
data sent with both the GET and POST methods.
Example
Welcome
<?php echo $_REQUEST["fname"]; ?>!<br />
You are <?php echo $_REQUEST["age"]; ?> years old.
No comments:
Post a Comment