On Wednesday, March 13, 2002, at 10:27  PM, David Robley wrote:

> If you are using a SELECT MULTIPLE you need to name the item as an 
> array,
> e.g. NAME="multi[]" - then loop through the array in the target script 
> to
> extract the values. Don't forget to either define a default selection or
> check for 'none selected'

Such as

if ($_POST['multi']) {
    // loop thru the array and extract the values
} else {
    // there were none selected so don't loop thru
    // the array (or you'll raise an error)
}


----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


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

Reply via email to