Conversation with Merlin [email protected] · Tue Nov 21 2023
  1. Which PHP superglobal is used to collect form data sent with the GET method?

The PHP superglobal used to collect form data sent with the GET method is $_GET. When a form is submitted using the GET method, the form data is visible in the URL, and collects this data using the $_GET superglobal. This superglobal is an array that contains the key-value pairs of the form data.