The web page has a form with a following element in it:

<select multiple size="4" name="city">
  <option selected value=0>no preference</option>
  <option value=2>Paris</option>
  <option value=1>London</option>
  <option value=3>Madrid</option>
</select>

The intention is to be able to pick multiple cities. However, when the request arrives on the server, the $_POST array includes just the one last pick, no matter how many options are highligted when the "submit" button is hit.

What's the deal - is the an HTML code problem or PHP problem? Is it at all possible to have multiple choices derived from this kind of form element?

Thanks in advance!

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



Reply via email to