RE: [PHP] FORM RELATED QUESTION - I
| From: | Johnson, Kirk | Date: | Tue, 05 Mar 2002 17:57:23 +0000 |
| Subject: | RE: [PHP] FORM RELATED QUESTION - I | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87301@lists.php.net to get a copy of this message | ||
Append '[]' to the field name, e.g.,
order[] = 10
order[] = 20
Then process the submitted field as an array.
Kirk
> -----Original Message-----
> From: karthikeyan [mailto:karthikeyan@aspiresys.com]
> Sent: Tuesday, March 05, 2002 9:18 AM
> To: Jason Wong
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] FORM RELATED QUESTION - I
>
>
> Yes I did use $HTTP_POST_VARS but it removes duplicate
> values. Say if
> there are two hidden variables
>
> 1. order= 10
> 2. order= 20
>
> I get order=20 the last one but i want both. I need both.