[nycphp-talk] Newbie question - multi-select list box
Brent Baisley
brent at landover.com
Fri May 2 09:38:16 EDT 2003
Since a multi-select can contain multiple values, you need to use a
variable that can hold multiple values. If you add brakcets [] to your
field name for the multi-select, then the values will be contained in
an array by that name.
<select name="varName[]" multiple size=5>
On Friday, May 2, 2003, at 08:34 AM, Jeff wrote:
> I have a multi-select list on a form that posts to itself. However,
> while other items, such as text boxes retain their values (I'm using
> something like <?php echo $_POST['DL_sAddr2'] ?> ) I'm scratchin' my
> head on how to do the same with the multi-select list.
>
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577
More information about the talk
mailing list