Multiple selects and database queries

admin

Administrator
Staff member
How do I insert the values of a variable which is posted by a form with select multiple controls into a database?


Example:

If I have "<select name="select1" size="6" multiple>
<option selected>Bitte w&auml;hlen Sie!</option>
<option>Alarmanlagen</option>
<option>Brandmeldeanlagen</option>
<option>Notdienst</option>
<option>Schl&uuml;sseldienst</option>
<option>Zutrittskontrollsysteme</option>
<option>Personenschutz</option>
</select>" the variable "select1" has 6 values: select1=Alarmanlagen&select1=Brandmeldeanlagen etc.

Thank you!
 
Back
Top