form array
| From: | Sebastian | Date: | Mon, 02 May 2005 02:15:46 +0000 |
| Subject: | form array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-214305@lists.php.net to get a copy of this message | ||
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][] ?