Re: mutliple select form not passing multiple values

From: Date: Wed, 11 Feb 2004 21:38:38 +0000
Subject: Re: mutliple select form not passing multiple values
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-177460@lists.php.net to get a copy of this message
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[]


« previous php.general (#177460) next »