Posted by Brent Baisley on 05/02/05 16:09
Exactly. You can really go as deep as you want with your array "fields".
On May 1, 2005, at 10:15 PM, Sebastian wrote:
> i've created file upload scripts in the past that allows multi-upload
> inputs
> using the bracket [] array in form.
>
> so now i have to create the same type of script but each file input
> field
> will also be followed by a text box for a "file caption" type thing.
>
> what would i used for the input text box?
>
> file: <input type="file" name="foo[]">
>
> now for my text field?
> <input type="text" name="??">
>
> something like foo[caption][] ?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577
[Back to original message]
|