Put the following in the page to which the form is
submitted - it just loops through the all the post
args (presumably the rows in your form) and puts the
name of the arg into one column and it's value into
another....
_start
<@ASSIGN local$mypostargs VALUE="<@POSTARGNAMES>">
<@assign local$temparr value="<@array cols=2
rows='<@numrows array="local$mypostargs">'>">
<@rows array="local$mypostargs">
The value for @@local$mypostargs[<@currow>,1] is
<@arg @@local$mypostargs[<@currow>,1]><br>
<@assign local$temparr[<@currow>,1]
"@@local$mypostargs[<@currow>,1]">
<@assign local$temparr[<@currow>,2] "<@arg
@@local$mypostargs[<@currow>,1]>">
</@rows>
In the array:
@@local$temparr
_finish
--- Roland Dumas <[EMAIL PROTECTED]> wrote:
> Is there an example of a web form with many rows
> being converted to an
> array? I've got a bit of a brain freeze.
>
> that is: searching a product db to create an
> foundset list that is
> presented in a storefront order form. when the form
> is submitted, it
> gets turned into an array.
>
> thanks for any help. sorry the q is so basic.
>
>
________________________________________________________________________
> TO UNSUBSCRIBE: Go to
http://www.witango.com/maillist.taf
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf