note 42968 deleted from faq.html by sobak
| From: | sobak@php.net | Date: | Fri, 25 Nov 2016 05:43:46 +0000 |
| Subject: | note 42968 deleted from faq.html by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207647@lists.php.net to get a copy of this message | ||
Note Submitter: vlad at vkelman dot com
----
"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.