Hallo, ich habe ein Problem mit dem Kontaktformular unserer Homepage. Wenn man das Formular ausfüllt, erhält man es leider in dieser Form per mail:
Reservierungsanfrage=Einzelzimmer&Monat=January&Tag=1&Jahr=2010&Monat=January&Tag=4&Jahr=2010&Raucher=1&Haustier=2&Name=Max+Mustermann&Strasse=Musterstrasse&Hausnummer=4&PLZ=67655&Ort=Musterstadt&Land=Deutschland&Telefonnummer=06331755555&Mail=max.mustermann%40muster.de&Bemerkungen=+++%0D%0A++++Hier+steht+mein+Mustertext
Kann man dies nicht schöner unterteilen? Anbei mein verwendeter Code.
HTML
<h2>KONTAKT:</h2><FORM METHOD=post ACTION=mailto:info@hotelamerica.de><TABLE><TR> <TD WIDTH="200" VALIGN="TOP"> Reservierungsanfrage: </TD> <TD WIDTH="200" VALIGN="TOP"> <SELECT NAME=Reservierungsanfrage> <OPTION SELECTED VALUE=Einzelzimmer> Einzelzimmer <OPTION VALUE=Doppelzimmer> Doppelzimmer <OPTION VALUE=3-Bettzimmer> 3-Bettzimmer </SELECT><TR> </TD> <TD WIDTH="100" VALIGN="TOP">Anreise: </TD> <TD> <select name="Monat"> <option value="January">January <option value="February">February <option value="March">March <option value="April">April <option value="May">May <option value="June">June <option value="July">July <option value="August">August <option value="September">September <option value="October">October <option value="November">November <option value="December">December</select><select name="Tag"> <option value="1">1 <option value="2">2 <option value="3">3 <option value="4">4 <option value="5">5 <option value="6">6 <option value="7">7 <option value="8">8 <option value="9">9 <option value="10">10 <option value="11">11 <option value="12">12 <option value="13">13 <option value="14">14 <option value="15">15 <option value="16">16 <option value="17">17 <option value="18">18 <option value="19">19 <option value="20">20 <option value="21">21 <option value="22">22 <option value="23">23 <option value="24">24 <option value="25">25 <option value="26">26 <option value="27">27 <option value="28">28 <option value="29">29 <option value="30">30 <option value="31">31</select><select name="Jahr"> <option value="2010">2010 <option value="2011">2011</select> </TD></TR> <TD WIDTH="100" VALIGN="TOP">Abreise: </TD> <TD> <select name="Monat"> <option value="January">January <option value="February">February <option value="March">March <option value="April">April <option value="May">May <option value="June">June <option value="July">July <option value="August">August <option value="September">September <option value="October">October <option value="November">November <option value="December">December</select><select name="Tag"> <option value="1">1 <option value="2">2 <option value="3">3 <option value="4">4 <option value="5">5 <option value="6">6 <option value="7">7 <option value="8">8 <option value="9">9 <option value="10">10 <option value="11">11 <option value="12">12 <option value="13">13 <option value="14">14 <option value="15">15 <option value="16">16 <option value="17">17 <option value="18">18 <option value="19">19 <option value="20">20 <option value="21">21 <option value="22">22 <option value="23">23 <option value="24">24 <option value="25">25 <option value="26">26 <option value="27">27 <option value="28">28 <option value="29">29 <option value="30">30 <option value="31">31</select><select name="Jahr"> <option value="2010">2010 <option value="2011">2011</select> </TD></TR> <TD WIDTH="200" VALIGN="TOP"> Optionen: </TD> <TD colspan="2" VALIGN="TOP"> <input type="checkbox" name=Raucher value="1" >Raucher <input type="checkbox" name=Haustier value="2" >Haustier <input type="checkbox" name=Babybett value="3" >Babybett </TD><TR> <TD WIDTH="100" VALIGN="TOP">Name: </TD> <TD WIDTH="400" VALIGN="TOP"> <INPUT TYPE="text" NAME="Name" SIZE="40" MAXLENGTH="150"> </TD></TR><TR> <TD> Straße / Hausnummer: </TD> <TD> <INPUT TYPE="text" NAME="Strasse" SIZE="34" MAXLENGTH="150"> <INPUT TYPE="text" NAME="Hausnummer" SIZE="6" MAXLENGTH="150"> </TD></TR><TR> <TD> PLZ / Ort: </TD> <TD> <INPUT TYPE="text" NAME="PLZ" SIZE="6" MAXLENGTH="150"> <INPUT TYPE="text" NAME="Ort" SIZE="34" MAXLENGTH="150"> </TD></TR><TR> <TD> Land: </TD> <TD> <INPUT TYPE="text" NAME="Land" SIZE="40" MAXLENGTH="150"> </TD><TR><TD> Telefonnummer: </TD> <TD WIDTH="400" VALIGN="TOP"> <INPUT TYPE="text" NAME="Telefonnummer" SIZE="40" MAXLENGTH="150"> </TD></TR> <TR><TD> E-Mail: </TD> <TD WIDTH="400" VALIGN="TOP"> <INPUT TYPE="text" NAME="Mail" SIZE="40" MAXLENGTH="150"> </TD></TR><TR> <TD> Bemerkungen: </TD> <TD WIDTH="400" VALIGN="TOP"> <TEXTAREA NAME="Bemerkungen" ROWS="5" COLS="40"> </TEXTAREA> </TD></TR></TABLE><INPUT TYPE=submit VALUE=Senden></FORM>