Lesson 05: Query String.

A query string is everything to the right of a question mark found in a URL or internet web address.

ex: google.com?search=mytown; the querystring is ‘search=mytown’.

The querystring variable is: search and the value of ‘search’ is ‘mytown’.

Create a node and paste this following code into it’s landing page editor. Goto the node’s address and test with browser.  When testing this script type ‘/?anything=testing123’ after the URL address in your browser’s address bar.  This example outputs: ‘testing123‘.



Leave a Reply