URL Playground Instructions

What follows are some rules/guidelines to help you understand URL variables/parameters. Use the information below to "play" and experiment until you understand URL syntax.


In the URL above (stonecoldprofessor.com/url-variables.php), add at least one of the variables listed below


You can choose any variable(s) in any order as long as you use the proper syntax, shown below.

The first variable that you choose will be added to the url by placing a question mark (?) at the end of the URL followed by the variable name, the equal sign, and a value. See the example below using "age" as the first variable.

stonecoldprofessor.com/url-variables.php?age=434


The second variable (and all others) will be added to the url by placing an ampersand (&) at the end of the previous variable value, followed by the equal sign, and a value. See the example below using "age" as the first variable and "first-name" as the second variable.

stonecoldprofessor.com/url-variables.php?age=434&first-name=jeff


Each consecutive variable follows the same rule as above. See example below.

stonecoldprofessor.com/url-variables.php?age=434&first-name=jeff&last-name=stone&show-image=true