Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

[PHP3] Multiple selections in <SELECT> From: kev (kevin.porter <email protected>)
Date: 08/31/99

Hi,

Does anyone know how to make a SELECT box accept multiple choices and be
able to access those values via php?

My HTML literature does not help - I've tried a couple of books but they
just say things along the lines of "Add the MULTIPLE attribute to allow
users to select more than one item" without an explanation of how you
get at that info. Can it be made to pass the info as an array?

I have tried using multiple, and indeed it does let a user select more
than one value - but only one value is passed to the action script.

TIA

- Kev

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>