r1 - 27 Mar 2005 - 13:14:15 - TWikiContributorYou are here: TWiki >  TWiki Web > TWikiVariables > VarQUERYPARAMS

QUERYPARAMS -- show paramaters to the query

  • Expands the parameters to the query that was used to display the page.
  • Syntax: %QUERYPARAMS{...}%
  • Parameters:
    • format="..." format string for each entry, default $name=$value
    • separator="..." separator string, default separator="$n" (newline)
  • The following escape sequences are expanded in the format string:
    Sequence:up Expands To:
    $dollar Dollar sign ($)
    $n or $n() New line. Use $n() if followed by alphanumeric character, e.g. write Foo$n()Bar instead of Foo$nBar
    $name Name of the parameter
    $nop or $nop() Is a "no operation".
    $percnt Percent sign (%)
    $quot Double quote (")
    $value String value of the parameter. Multi-valued parameters will have a "row" for each value.
  • Example:
    • %QUERYPARAMS{format="<input type='hidden' name='$name' value='$percntENCODE{$quot()$value$quot type=$quot()html$quot}$percnt' />"}%
  • See also QUERYSTRING, URLPARAM
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This website uses only proprietary and third party technical cookies to ensure the correct operation of its web pages and to improve its services.
By continuing to navigate the website you consent to the use of cookies. To learn more, or deny your consent, consult the privacy policy
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.