In PHP, $_GET is a superglobal array that is used to collect data sent in the URL's ______.

  • Query string
  • Request body
  • Path parameters
  • Headers
In PHP, the $_GET superglobal is used to collect data sent in the URL's query string. When data is sent to the server through the URL using the GET method, the values are appended to the URL as key-value pairs in the query string. The $_GET superglobal allows access to these values by using the corresponding key as an index. It is commonly used to retrieve parameters or values passed through the URL. Learn more: https://www.php.net/manual/en/reserved.variables.get.php
Add your answer
Loading...

Leave a comment

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