On 11 February 2004 21:39, Ben Ramsey wrote:
Ah-ha! I missed that, and I always do. Let's hope I don't anymore.
While we're on the subject, why is PHP set up this way? Why can't it
just add the elements to the array automatically, since adding the
square brackets to one's HTML form name is
I'm running PHP 5.0b3, so I'm not sure whether this is an issue with the
version of PHP I'm running.
I've got a select field in a form that is allowing multiple selects:
select name=modules size=10 multiple=multiple id=modules
style=height: 150px;
option value=2 selected=selectedBanner
Hello Ben,
Wednesday, February 11, 2004, 9:22:33 PM, you wrote:
BR Am I doing something wrong?
Yup :)
It needs to be:
select name=modules[] ...
Note the change in name from modules to modules[]
--
Best regards,
Richardmailto:[EMAIL PROTECTED]
--
PHP General
Ah-ha! I missed that, and I always do. Let's hope I don't anymore.
While we're on the subject, why is PHP set up this way? Why can't it
just add the elements to the array automatically, since adding the
square brackets to one's HTML form name is not a standard practice?
Richard Davey wrote:
Hello Ben,
Wednesday, February 11, 2004, 9:38:38 PM, you wrote:
BR Ah-ha! I missed that, and I always do. Let's hope I don't anymore.
BR While we're on the subject, why is PHP set up this way? Why can't it
BR just add the elements to the array automatically, since adding the
BR square
5 matches
Mail list logo