Re: [PHP] HTML form element

2002-04-12 Thread Chris Wesley
Name your select element "majors[]" and when the form is submitted, your form handler will get an array, not a scalar, called $majors. Step through the array, and you'll get all the options that were selected. ~Chris /"\ \ /

[PHP] HTML form element

2002-04-12 Thread Brian McLaughlin
Hi all. I have a tag like this on a php-generated web page. Art Biology Business and Economics" etc. etc. My question is... since this is a multiple-select list, in the php script that this form calls on a submit, how do I determine which options have been selected? If I look at