/ Published in: PHP
Select aus vorhandenen Daten des Datenbankobjektes
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
select name="kbland" size="1" class="box2 "> <option></option> <option <we:ifField name="bland_kurz" type="text" match="BW">selected="selected"</we:ifField> value="BW">Baden-Württemberg</option> <option <we:ifField name="bland_kurz" type="text" match="BY">selected="selected"</we:ifField> value="BY">Bayern</option> <option <we:ifField name="bland_kurz" type="text" match="BE">selected="selected"</we:ifField> value="BE">Berlin</option> <option <we:ifField name="bland_kurz" type="text" match="BB">selected="selected"</we:ifField> value="BB">Brandenburg</option> <option <we:ifField name="bland_kurz" type="text" match="HB">selected="selected"</we:ifField> value="HB">Bremen</option> <option <we:ifField name="bland_kurz" type="text" match="HH">selected="selected"</we:ifField> value="HH">Hamburg</option> <option <we:ifField name="bland_kurz" type="text" match="HE">selected="selected"</we:ifField> value="HE">Hessen</option> <option <we:ifField name="bland_kurz" type="text" match="MV">selected="selected"</we:ifField> value="MV">Mecklenburg-Vorpommern</option> <option <we:ifField name="bland_kurz" type="text" match="NI">selected="selected"</we:ifField> value="NI">Niedersachsen</option> <option <we:ifField name="bland_kurz" type="text" match="NW">selected="selected"</we:ifField> value="NW">Nordrhein-Westfalen</option> <option <we:ifField name="bland_kurz" type="text" match="RP">selected="selected"</we:ifField> value="RP">Rheinland-Pfalz</option> <option <we:ifField name="bland_kurz" type="text" match="SL">selected="selected"</we:ifField> value="SL">Saarland</option> <option <we:ifField name="bland_kurz" type="text" match="SN">selected="selected"</we:ifField> value="SN">Sachsen</option> <option <we:ifField name="bland_kurz" type="text" match="ST">selected="selected"</we:ifField> value="ST">Sachsen-Anhalt</option> <option <we:ifField name="bland_kurz" type="text" match="SH">selected="selected"</we:ifField> value="SH">Schleswig-Holstein</option> <option <we:ifField name="bland_kurz" type="text" match="TH">selected="selected"</we:ifField> value="TH">Thüringen</option> </select>