Re: Is there a way to get multiple values for a single input in a form submission?

From: Date: Fri, 24 Mar 2006 02:22:42 +0000
Subject: Re: Is there a way to get multiple values for a single input in a form submission?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-232499@lists.php.net to get a copy of this message
On Tue, March 21, 2006 4:44 pm, mslemko wrote: > this is what I am trying to do: > > On a web form I might have a select input with multiple selections > enabled, however I want to have access to the list within PHP after > submission. > > <select multiple='true' name='myselect'> For PHP, use name='myselect[]' Then PHP turns it into an array as it processes it. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#232499) next »