Re: Accessing multiple List/Menu values

From: Date: Wed, 10 Jul 2002 17:06:22 +0000
Subject: Re: Accessing multiple List/Menu values
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-106876@lists.php.net to get a copy of this message
Search the archives...this has been answered by me and many others... B i g D o g ----- Original Message ----- From: "Joseph Szobody" <jszobody@excite.com> To: <php-general@lists.php.net> Sent: Wednesday, July 10, 2002 12:02 PM Subject: [PHP] Accessing multiple List/Menu values > This is sorta OT, but involves PHP. > > I have a fairly large List/Menu on a form, which allows for multiple selections. I want users to be able to use cntrl/shift-click to select a bunch of items. Let's say this List is called 'list'. Now when I submit the form, how does the processing script access all these different values in 'list'? If I try to echo '$list' it only show *one* of the selected items from the list. I've tried treating it as an array ($list[0], $list[1], etc), but that doesn't work either. > > How do I get at the different values? > > Thanks, > > -- > : Joseph Szobody : > "Computers are like airconditioners: They stop working properly if you open windows." > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#106876) next »