Re: $_POST and multiselectable <select> tag



On Fri, 31 Aug 2007 19:03:45 +0200, "Fabio" <znt.fabio@xxxxxxxxxxx> wrote:

ELINTPimp wrote:

Do a search on this group for select+array

Ok, I thank you to let me lost time searching for this *complex* solution
(ah, select+multiple, not select+array) that is

name="list[]"

and not

name="list"

Good, this works... also if the "[]" is not valid in html4 name attribute :)

It is valid.

http://www.w3.org/TR/html4/types.html#type-name

ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed
by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"),
colons (":"), and periods (".").

The name attribute is not of type NAME, see the DTD (and previous
discussions).

http://www.w3.org/TR/html4/interact/forms.html#adef-name-INPUT

--
Andy Hassall :: andy@xxxxxxxxxxx :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
.



Relevant Pages

  • Re: Random Number Excluding Specified Value in Array
    ... proportions of the two change and a significant percentage of the range is ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ...
    (comp.lang.php)
  • Re: Error log.
    ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ... Prev by Date: ...
    (comp.lang.php)
  • Re: php diff
    ... example renderers in the package that you can tweak. ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ...
    (comp.lang.php)
  • Re: mkdir() problems
    ... What are the permissions on the parent directory? ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ...
    (comp.lang.php)
  • Re: new forum -- homework help/chit chat/easy communication
    ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ... Prev by Date: ...
    (comp.lang.php)