PHP Superglobal - $_GET with Examples

PHP Superglobal GET Function with Example with Examples


The $_GET Superglobal variable is used to collect data from html form.it converts the name/value of form data in query string and append to the requested page.The sent from the form  with the GET method is visible to everyone and it also has limits on the amount of information to send. The limitation of data is about 2000 characters.

As, all variable names and values are displayed in the URL, it may be used for sending non-sensitive data.

Example :

Output :