Difference between revisions of "Ns querygetall"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 623)
 
 
Line 25: Line 25:
 
----
 
----
  
[[Category Documentation]] - [[Category Core Tcl API]]
+
[[Category:Documentation]] - [[Category:Core Tcl API]]

Latest revision as of 19:09, 7 February 2009

Man page: http://aolserver.com/docs/tcl/ns_querygetall.html


NAME

ns_querygetall - Get multiple query values from the HTTP request

SYNOPSIS

ns_querygetall key ?def_result?

DESCRIPTION

This command returns all values whose key is key. If there are none, the default result def_result is returned, or an empty string is returned if def_result is not specified. This function is useful for checkboxes.

NOTES

Note that despite it's name, ns_querygetall works on POST form data as well as query string data.

SEE ALSO

ns_queryexists, ns_queryget

-