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: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[]


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



Reply via email to