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.
opensubscriber is not affiliated with the authors of this message nor responsible for its content.