$_REQUEST in PHP
$_REQUEST is used to collect data after submitting an HTML form.
When a user submits the data by clicking on “Submit”, the form data is sent to the file specified in the action attribute of the <form> tag. Then, we can use the super global variable $_REQUEST to collect the value of the input field.$_REQUEST is very useful variable because it retrieves the value from HTML form irrespective of form method.
Syntax : $variable = $_REQUEST[‘html input name’];