RE: [PHP-WIN] What variables does a <select name='what' mutilple> tag submit?

From: Date: Fri, 14 Dec 2001 10:51:06 +0000
Subject: RE: [PHP-WIN] What variables does a <select name='what' mutilple> tag submit?
Groups: php.windows 
Request: Send a blank email to php-windows+get-10900@lists.php.net to get a copy of this message
> --- Cliff <zihan@msn.com> wrote: > > Hi, > > > > I would like to ask, what variables are submitted > > from a form with say... > > options 2 and 4 selected? > > > > <select name='what' multiple size=4> > > <option value='1'>1 > > <option value='2'>2 > > <option value='3'>3 > > <option value='4'>4 > > <option value='5'>5 > > </select> > > > I am not 100% certain, but I believe that it would set > $what as an array, with $what[0] as '2', and $what[1] > as '4.' submit and print_r($_POST); and you'll know :-) /Martin

« previous php.windows (#10900) next »