You can use the $_GET superglobal in PHP to get data sent via the POST method from a form.

  • TRUE
  • FALSE
The statement is false. The $_GET superglobal is specifically used to retrieve data sent via the GET method, not the POST method. To access data sent via the POST method from a form, you would use the $_POST superglobal. The $_GET superglobal retrieves data from the URL's query string, whereas the $_POST superglobal retrieves data sent through an HTML form using the POST method. Learn more: https://www.php.net/manual/en/reserved.variables.get.php, https://www.php.net/manual/en/reserved.variables.post.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *