Re: PHP's handling of Array's in Form Fields
| From: | Jon Yaggie | Date: | Fri, 10 Aug 2001 14:39:02 +0000 |
| Subject: | Re: PHP's handling of Array's in Form Fields | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62176@lists.php.net to get a copy of this message | ||
surely i will be corrected if wrong but i think yes that they the elements
appear in the array in the same order as they are in your html.
----- Original Message -----
From: "Joseph Koenig" <joe@jwebmedia.com>
To: <php-general@lists.php.net>
Sent: Friday, August 10, 2001 9:41 PM
Subject: [PHP] PHP's handling of Array's in Form Fields
> When a form field (a select, for instance) is named as an array
> (field_name[]), what order is the array set in? If I have 2 rows in a
> table, with 4 columns in each row, with each column containing a select
> (so 8 all together), with all the selects named as an array, will the
> array be filled with values in the order of the code, or is it somewhat
> random? Hope this question makes sense. Thanks,
>
> Joe
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net