2011/5/11 Gustaf Neumann <[email protected]>: > 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]"
With additional check for counters and transpose this code will be not so trivial. But I think that getting set of records from form may be simple operation in AOL. How about editing and saving a set of database records?... And how about parsing CSV format on client (javascript) and packet import?... All these operations can be realised easy with ns_querygetarray function. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[email protected]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
