note 42968 added to faq.html
| From: | vlad at vkelman dot com | Date: | Fri, 04 Jun 2004 23:04:25 +0000 |
| Subject: | note 42968 added to faq.html | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70756@lists.php.net to get a copy of this message | ||
"4. How do I get all the results from a select multiple HTML tag?"
I think that behavior of PHP which forces to use [] after a name of 'select' control with
multiple attribute specified is very unfortunate. I understand it comes from old times when
registerglobals = on was commonly used. But it creates incompatibility between PHP and ASP or other
server-side scripting languages. The same HTML page with 'select' control cannot post to
PHP and ASP server pages, because ASP does not require [] and automatically recognize when arrays
are posted.
----
Manual Page -- http://www.php.net/manual/en/faq.html.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42968
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42968&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42968&report=yes
Search -- http://master.php.net/manage/user-notes.php