RE: [PHP] PHPLIB-oohforms - Trying unsuccessfully to use "multiple" with type="text"
| From: | John W. Holmes | Date: | Tue, 29 Apr 2003 14:12:33 +0000 |
| Subject: | RE: [PHP] PHPLIB-oohforms - Trying unsuccessfully to use "multiple" with type="text" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145654@lists.php.net to get a copy of this message | ||
> I am using oohforms from phplib 7.4-pre2. I have a text element set
to
> "multiple", however when I render the element, I only get the last
data
> added. My reading of the manual indicates this should work.
[snip]
> HTML output:
>
> <form name='' method='POST' action='/p/testmulti.php'
> target='_self'>
> <input name='textbox[]' value="second 2222" type='text'>
> <input name='textbox[]' value="second 2222" type='text'>
> </form>
What's the problem? That's how it should look. The problem is probably
how you're processing the form and that this is a question better suited
to a PHPLIB mailing list.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/