PHP TutorialsPhp What is
PHP INI TutorialsPhp ini What is
The GET method used to send data to the server. When we submit a form, that has the GET method it displays pair of name or value used in the form at the address bar of the browser preceded by url. GET method is limited we can not send more data.
Here GET method is used to control the form values. When we submit button is clicked, the form data will be send to method_get.php file because this is the file name mentioned in the form action part. Form is submitted when the user clicks the "Submit" button, when PHP GET method is used then the URL will not contain any form data, the URL will be passed as such. Here URL will be
The $_GET Variables by default is the only way that you can access variables passed via the GET method. You cannot reference GET variables like this: $cat, $id.