RE: [PHP] multi dimension form input
| From: | Dan | Date: | Tue, 08 Aug 2000 04:11:29 +0000 |
| Subject: | RE: [PHP] multi dimension form input | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10582@lists.php.net to get a copy of this message | ||
If you're talking about setting the value in the form, make sure you do
something like
value='<? echo $array[ $key ][ $subkey] ?>'
Going the other way the array syntax for the name of the field is very
strict, you can't even use spaces, definitely not multidimensions.
> -----Original Message-----
> From: Michael Richardson [mailto:mrichardson@agex.com]
> Sent: Monday, August 07, 2000 11:57 PM
> To: Php-General (E-mail)
> Subject: [PHP] multi dimension form input
>
>
> Thanks in advance:
>
> I am looking for information from someone who has
> successfully uploaded data
> from a form using a multi dimensional array:
>
> value="array[key][subkey]"
>
> and hopefully an example of how this was done, and how the
> input was read.
> I cannot seem to upload a multi dimensional array.
>
> Respectfully:
>
> Michael Richardson
>
> --
> 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
>