Posted By


ulfinger on 12/18/14

Tagged


Statistics


Viewed 813 times
Favorited by 0 user(s)

WebEdition Selectfeld Bundesländer Deutschland


/ Published in: PHP
Save to your folder(s)

Select aus vorhandenen Daten des Datenbankobjektes


Copy this code and paste it in your HTML
  1. select name="kbland" size="1" class="box2 ">
  2. <option></option>
  3. <option <we:ifField name="bland_kurz" type="text" match="BW">selected="selected"</we:ifField> value="BW">Baden-Württemberg</option>
  4. <option <we:ifField name="bland_kurz" type="text" match="BY">selected="selected"</we:ifField> value="BY">Bayern</option>
  5. <option <we:ifField name="bland_kurz" type="text" match="BE">selected="selected"</we:ifField> value="BE">Berlin</option>
  6. <option <we:ifField name="bland_kurz" type="text" match="BB">selected="selected"</we:ifField> value="BB">Brandenburg</option>
  7. <option <we:ifField name="bland_kurz" type="text" match="HB">selected="selected"</we:ifField> value="HB">Bremen</option>
  8. <option <we:ifField name="bland_kurz" type="text" match="HH">selected="selected"</we:ifField> value="HH">Hamburg</option>
  9. <option <we:ifField name="bland_kurz" type="text" match="HE">selected="selected"</we:ifField> value="HE">Hessen</option>
  10. <option <we:ifField name="bland_kurz" type="text" match="MV">selected="selected"</we:ifField> value="MV">Mecklenburg-Vorpommern</option>
  11. <option <we:ifField name="bland_kurz" type="text" match="NI">selected="selected"</we:ifField> value="NI">Niedersachsen</option>
  12. <option <we:ifField name="bland_kurz" type="text" match="NW">selected="selected"</we:ifField> value="NW">Nordrhein-Westfalen</option>
  13. <option <we:ifField name="bland_kurz" type="text" match="RP">selected="selected"</we:ifField> value="RP">Rheinland-Pfalz</option>
  14. <option <we:ifField name="bland_kurz" type="text" match="SL">selected="selected"</we:ifField> value="SL">Saarland</option>
  15. <option <we:ifField name="bland_kurz" type="text" match="SN">selected="selected"</we:ifField> value="SN">Sachsen</option>
  16. <option <we:ifField name="bland_kurz" type="text" match="ST">selected="selected"</we:ifField> value="ST">Sachsen-Anhalt</option>
  17. <option <we:ifField name="bland_kurz" type="text" match="SH">selected="selected"</we:ifField> value="SH">Schleswig-Holstein</option>
  18. <option <we:ifField name="bland_kurz" type="text" match="TH">selected="selected"</we:ifField> value="TH">Thüringen</option>
  19. </select>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.