PHP $_GET

The $_GET variable is an array of variable names with the corresponding values sent by the HTTP GET method. It is used to collect values from a form by using the method=”get”. All information sent by a form using this method is visible to all on the browser’s address bar but it is limited to only 100 characters.

Sample:

Name :
Age :

If the user clicks on the submit button, the address bar would look like the output below:

http://www.samplepage.com/welcome.php?name=Ernie&age=35

Take note that the variable contents and names are verbosely displayed so do not forget to take that into account when using the variable for forms processing.

Comments are closed.


Parse error: syntax error, unexpected T_STRING in /home/spm011/public_html/phpprogrammingguide/wp-content/themes/basic-concept-10/footer.php on line 8