Mike:

On the name of the select, use "[]".

<select name="select[]" size="3" multiple>

That way, you can access the array to see what options were selected.
--
Un gran saludo/Big regards...
   Arturo Barajas, IT/Systems PPG MX (SJDR)
   (427) 271-9918, x448

> -----Original Message-----
> From: Mike Walth [mailto:[EMAIL PROTECTED]
> Sent: Viernes, 21 de Febrero de 2003 05:45 p.m.
> To: [EMAIL PROTECTED]
> Subject: [PHP] Getting a Multiple Select Form Field's Value
> 
> 
> Hello:
> 
> I'm trying to get the value from the following form field.
> 
> <select name="select" size="3" multiple>
>   <option value="1">Value1</option>
>   <option value="2">Value2</option>
>   <option value="3">Value3</option>
> </select>
> 
> I can get it to return one value, but if I select multiple 
> values I can't
> get all the values form it.  Any ideas would be appreciated.
> 
> Mike Walth
> CinoFusion
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to