Query String

A Query String is the portion of a URL that is used to “pass variables” to a Web server. It begins with a question mark and is comprised of Name-Value Pairs of Parameters and their values.

Example:
This is a URL without a Query String:

     http://www.example.com/product5.asp

And this is a URL with a Query String:

     http://www.example.com/product5.asp?crcat=ppc&crsource=adwords&crkw=widgets

In this example the query string is "?crcat=ppc&crsource=adwords&crkw=widgets".

An example name-value pair is "crcat=ppc" (the parameter is "crcat" and the value is "ppc"). There are three name-value pairs and these are separated by ampersands.

If you wanted to add an additional name-value pair you would simply place another ampersand and a name-value pair at the end of the Query String.