On Thursday 18 July 2002 23:18, Terry Romine wrote: > I have a form with a multi-line select field: > <select name="cities" size="5" multiple>
Use: <select name="cities[]" size="5" multiple> > if($cities) { > // multiple may be selected -- figure that out later > die("multiple cities: $cities"); // results in >displaying > 'multiple cities: woodbridge' > } You can then use: foreach ($cities as $value) { echo "Selected $value<br>"; } -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* The discerning person is always at a disadvantage. */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php