You are here: Re: [PHP] form array « PHP « IT news, forums, messages
Re: [PHP] form array

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация