Lasso Soft Inc. > Home

[ web_request->queryParam ]

Method

The [web_request->queryParam] takes one parameter, the name of a GET param, and returns the value passed by the client for that parameter.

  • Syntax
web_request->queryParam('GET PARAM')
Examples
  • Beginner

Display the value of a GET parameter

The code below displays the value of a GET parameter passed in the URL to the web server by the client. For this example, assume that the URL requested was http://www.example.com/test.lasso?id=1&type=3

Code

web_request->queryParam('id')

Result

1

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft