RE: [PHP] mutliple select form not passing multiple values

2004-02-12 Thread Ford, Mike [LSS]
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

Re: [PHP] mutliple select form not passing multiple values

2004-02-11 Thread Richard Davey
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

Re: [PHP] mutliple select form not passing multiple values

2004-02-11 Thread Ben Ramsey
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: