Re: PHP Forms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 4, 2006 9:57 pm, R. Van Tassel wrote:
> I am having an issue with a form, basically an order form, with 10
> rows.
> Each row is the same, the rows are being generated by a loop and I am
> appending the counter of the loop to the name of the form elements
> (i.e.
> quantity1, type1, next row = quantity2, type2, etc)

Save yourself a lot of headaches and use:

NAME="quantity[1]"

It will be an array when you process it with $_POST

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux