Date: 05/13/01
- Next message: peter <email protected>: "[PHP-DEV] Bug #10843: Function creates new array but does not reset pointer"
- Previous message: Al Maw: "[PHP-DEV] GD 2 support planned?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: tim <email protected>
Operating system: N/A
PHP version: 4.0.5
PHP Bug Type: Documentation problem
Bug description: FAQ section 8.1 should mention <input name="array[key]"> syntax
Section 8.1 of the FAQ linked from php.net talks about
using HTML forms to create arrays in PHP. It describes
the <input name="array[]"> syntax, but specifically
mentions that you can't use array keys - which is wrong,
I'm not sure which version this was added in, but
you can happily do
<input name="array[key1]" ... >
<input name="array[key2]" ... >
and use $array in your target script.
I find this terribly useful, so I thought it should be in
the FAQ.
-- Edit Bug report at: http://bugs.php.net/?id=10842&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: peter <email protected>: "[PHP-DEV] Bug #10843: Function creates new array but does not reset pointer"
- Previous message: Al Maw: "[PHP-DEV] GD 2 support planned?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

