opensubscriber
   Find in this group all groups
 
Unknown more information…

a : aolserver@listserv.aol.com 11 May 2011 • 2:37PM -0400

Re: [AOLSERVER] Feature request: ns_querygetarray function
by Gustaf Neumann

REPLY TO AUTHOR
 
REPLY TO GROUP




Am 10.05.11 17:59, schrieb Alexey Pechnikov:
> Problems:
>
> 1. When names and number of the array elements are not known we can't
> use ns_querygetall
why not using ns_getform? like e.g.:

===============================================================form-action.tcl
foreach {att value} [ns_set array [ns_getform]] {
     lappend a($att) $value
}
ns_return 200 text/plain "keys: [array names a]\nkeys+values: [array get a]"
==============================================================================

-gustaf neumann

--
Univ.Prof. Dr. Gustaf Neumann
Institute of Information Systems and New Media
WU Vienna
Augasse 2-6, A-1090 Vienna, AUSTRIA


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <listserv@list...> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.