Re: [PHP] Mulitple selects from form drop down box

2003-11-21 Thread Matthew Vos
On Thu, 2003-11-20 at 17:12, CPT John W. Holmes wrote: select size=1 name=D1[] multiple Now $_POST['D1'] will be an array of all the items that were chosen. ---John Holmes... ps: wouldn't it be easier to select multiple items if you had a size larger than 1?? The 'size=1' in a select

[PHP] Mulitple selects from form drop down box

2003-11-20 Thread Jeff McKeon
Is it possible to have a form Drop down box that allows multiple selects? I know the form field itself exists, but It only seems to return the last item selected and not all of them. Note in the code below the line: select size=1 name=D1 multiple [code] ?PHP include (header_template.php); ?

Re: [PHP] Mulitple selects from form drop down box

2003-11-20 Thread CPT John W. Holmes
From: Jeff McKeon [EMAIL PROTECTED] Is it possible to have a form Drop down box that allows multiple selects? I know the form field itself exists, but It only seems to return the last item selected and not all of them. Note in the code below the line: select size=1 name=D1 multiple This is