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.