Re: What variables does a <select name='what' mutilple> tag submit?

From: Date: Fri, 14 Dec 2001 09:33:14 +0000
Subject: Re: What variables does a <select name='what' mutilple> tag submit?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-10898@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.' __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com

« previous php.windows (#10898) next »