Re: HTML id attribute and arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin C <mumu@xxxxxxxxx> wrote:
> How should I follow the HTML specification while having the passed
> parameters automatically converted to arrays in PHP?

The "name" attribute, not the "id" attribute, is used as the key when
submitting form values.

The "name" and "id" attributes do not have to be the same.

--
Benjamin Hawkes-Lewis

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux