Re: PHP Forms
| From: | Richard Lynch | Date: | Sat, 06 May 2006 10:02:45 +0000 |
| Subject: | Re: PHP Forms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235680@lists.php.net to get a copy of this message | ||
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