Date: 11/21/01
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc / manual.xml.in"
- Previous message: Ivan Kovalenko: "[PHP-DOC] cvs: phpdoc /ru bookinfo.xml preface.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 10842
Updated by: philip
Reported By: tim <email protected>
Old Status: Open
Status: Closed
Bug Type: Documentation problem
Operating System: N/A
PHP Version: 4.0.5
New Comment:
Was added: 31st October 2001
Previous Comments:
------------------------------------------------------------------------
[2001-05-13 22:11:17] tim <email protected>
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 this bug report at http://bugs.php.net/?id=10842&edit=1
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc / manual.xml.in"
- Previous message: Ivan Kovalenko: "[PHP-DOC] cvs: phpdoc /ru bookinfo.xml preface.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

