Aller au contenu

Formmail Tres complique pour moi


Sujets conseillés

Posté

Bonjour,

je suis en train de faire un form de mail, normalement j'arrive a faire des formulaire avec 3 zone mais celuila je l'ai trouve un peux compliquer et comme je doit ajoute dans le mail qui vas etre envoyé des truc comme :

Nom :

prenom :

Adresse

....

Date d'arrive :

date de depart :

....

je sais vraiment pas comment faire, si vous pouvez m'aide ca serra vraiment tres gentille de votre part .

Salutation


<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="600"><table width="98%" border="1" align="center" cellspacing="0" bordercolor="#000000">
<tr>
<td><table width="100%" height=145 align="center" cellpadding=0 cellspacing=0 >
<tbody>
<tr bgcolor="#E9DDBF">
<td height="15" colspan=4 align=middle ><div align="left"><b><font color="#000000"> </font></b>
<p class="cellule"><font color="#000000"><b><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"> Informations générales</font></b> </font></p>
</div></td>
</tr>
<tr bgcolor="#E9E2CF">
<td width="84" height="24"><div align="left"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Civilité : </strong></font></div></td>
<td width="207" align=right><div align="left">
<select size=1 name=civilite tabindex="1">
<option value=Madame>Madame</option>
<option value=Monsieur selected>Monsieur</option>
</select>
</div></td>
<td width="84" align=right> </td>
<td width="205" align=right> </td>
</tr>
<tr bgcolor="#E9E2CF">
<td height="22"><div align="left"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Nom : </strong></font></div></td>
<td align=middle><div align="left">
<input name=nom maxlength="20" tabindex="2" />
</div></td>
<td><div align="left"><strong><font color="#8F2D0E" size="-1" face="Verdana, Arial, Helvetica, sans-serif">Adresse : </font></strong></div></td>
<td align=middle><div align="left">
<input name=adresse tabindex="6" />
</div></td>
</tr>
<tr bgcolor="#E9E2CF">
<td height="22"><div align="left"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Prénom : </strong></font></div></td>
<td align=middle><div align="left">
<input name=prenom tabindex="3" />
</div></td>
<td><div align="left"><strong><font color="#8F2D0E" size="-1" face="Verdana, Arial, Helvetica, sans-serif">Code postal : </font></strong></div></td>
<td align=middle><div align="left">
<input name=cp tabindex="7" />
</div></td>
</tr>
<tr bgcolor="#E9E2CF">
<td height="22"><div align="left"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Téléphone : </strong></font></div></td>
<td align=middle><div align="left">
<input name=telephone tabindex="4" />
</div></td>
<td><div align="left"><strong><font color="#8F2D0E" size="-1" face="Verdana, Arial, Helvetica, sans-serif">Ville : </font></strong></div></td>
<td align=middle><div align="left">
<input name=ville tabindex="8" />
</div></td>
</tr>
<tr bgcolor="#E9E2CF">
<td height="22"><div align="left"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong>E-mail : </strong></font></div></td>
<td align=middle><div align="left">
<input name=mail tabindex="5" />
</div></td>
<td align=middle><div align="left"><strong><font color="#8F2D0E" size="-1" face="Verdana, Arial, Helvetica, sans-serif"> Pays : </font></strong></div></td>
<td align=middle><div align="left">
<select name="pays" id="pays" tabindex="9">
<option value="france" selected>FRANCE</option>
<option value="algeria">ALGERIA</option>
<option value="andorra">ANDORRA</option>
<option value="angola">ANGOLA</option>
<option value="argentina">ARGENTINA</option>
<option value="aruba">ARUBA</option>
<option value="australia">AUSTRALIA</option>
<option value="bahrain">BAHRAIN</option>
<option value="bangladesh">BANGLADESH</option>
<option value="belarus">BELARUS</option>
<option value="belgium">BELGIUM</option>
<option value="benin">BENIN</option>
<option value="bolivia">BOLIVIA</option>
<option value="brazil">BRAZIL</option>
<option value="brunei">BRUNEI</option>
<option value="bulgaria">BULGARIA</option>
<option value="burkina faso">BURKINO FASO</option>
<option value="burundi">BURUNDI</option>
<option value="cameroon">CAMEROON</option>
<option value="central african republic">CENTRAL AFRICAN REP</option>
<option value="chile">CHILE</option>
<option value="china">CHINA</option>
<option value="colombia">COLOMBIA</option>
<option value="costa rica">COSTA RICA</option>
<option value="croatia">CROATIA</option>
<option value="curacao">CURACAO</option>
<option value="czech republic">CZECH REPUBLIC</option>
<option value="denmark">DENMARK</option>
<option value="dominican republic">DOMINICAN REPUBLIC</option>
<option value="ecuador">ECUADOR</option>
<option value="egypt">EGYPT</option>
<option value="el salvador">EL SALVADOR</option>
<option value="england">ENGLAND</option>
<option value="equatorial guinea">EQUATORIAL GUINEA</option>
<option value="estonia">ESTONIA</option>
<option value="finland">FINLAND</option>
<option value="gabon">GABON</option>
<option value="ghana">GHANA</option>
<option value="guatemala">GUATEMALA</option>
<option value="guinea">GUINEA</option>
<option value="honduras">HONDURAS</option>
<option value="hong kong">HONG KONG</option>
<option value="hungary">HUNGARY</option>
<option value="iceland">ICELAND</option>
<option value="india">INDIA</option>
<option value="indonesia">INDONESIA</option>
<option value="israel">ISRAEL</option>
<option value="italy">ITALY</option>
<option value="ivory coast">IVORY COAST</option>
<option value="jamaica">JAMAICA</option>
<option value="japan">JAPAN</option>
<option value="jordan">JORDAN</option>
<option value="kaezakhstan">KAZAKHSTAN</option>
<option value="kenya">KENYA</option>
<option value="kuwait">KUWAIT</option>
<option value="latvia">LATVIA</option>
<option value="lebanon">LEBANON</option>
<option value="lithuania">LITHUANIA</option>
<option value="macau">MACAU</option>
<option value="madagascar">MADAGASCAR</option>
<option value="malawi">MALAWI</option>
<option value="malaysia">MALAYSIA</option>
<option value="maldives">MALDIVES</option>
<option value="mali">MALI</option>
<option value="malta">MALTA</option>
<option value="mauritius">MAURITIUS</option>
<option value="mexico">MEXICO</option>
<option value="moldova">MOLDOVA</option>
<option value="morocco">MOROCCO</option>
<option value="mozambique">MOZAMBIQUE</option>
<option value="netherlands">NETHERLANDS</option>
<option value="nicaragua">NICARAGUA</option>
<option value="niger">NIGER</option>
<option value="nigeria">NIGERIA</option>
<option value="norway">NORWAY</option>
<option value="oman">OMAN</option>
<option value="pakistan">PAKISTAN</option>
<option value="panama">PANAMA</option>
<option value="paraguay">PARAGUAY</option>
<option value="peru">PERU</option>
<option value="philippines">PHILIPPINES</option>
<option value="poland">POLAND</option>
<option value="portugal">PORTUGAL</option>
<option value="qatar">QATAR</option>
<option value="reunion">REUNION</option>
<option value="romania">ROMANIA</option>
<option value="russia">RUSSIA</option>
<option value="rwanda">RWANDA</option>
<option value="saudi arabia">SAUDI ARABIA</option>
<option value="singapore">SINGAPORE</option>
<option value="slovakia">SLOVAKIA</option>
<option value="slovenia">SLOVENIA</option>
<option value="south africa">SOUTH AFRICA</option>
<option value="south korea">SOUTH KOREA</option>
<option value="spain">SPAIN</option>
<option value="sri lanka">SRI LANKA</option>
<option value="sudan">SUDAN</option>
<option value="swaziland">SWAZILAND</option>
<option value="sweden">SWEDEN</option>
<option value="syria">SYRIA</option>
<option value="taiwan">TAIWAN</option>
<option value="tanzania">TANZANIA</option>
<option value="thailand">THAILAND</option>
<option value="togo">TOGO</option>
<option value="tunisia">TUNISIA</option>
<option value="turkey">TURKEY</option>
<option value="uganda">UGANDA</option>
<option value="ukraine">UKRAINE</option>
<option value="united kingdom">UNITED KINGDOM</option>
<option value="united states" >UNITED STATES</option>
<option value="uruguay">URUGUAY</option>
<option value="uzbekistan">UZBEKISTAN</option>
<option value="venezuala">VENEZUELA</option>
<option value="yemen">YEMEN</option>
<option value="yugoslavia">YUGOSLAVIA</option>
<option value="zambia">ZAMBIA</option>
<option value="zimbabwe">ZIMBABWE</option>
</select>
</div></td>
</tr>
</tbody>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><table width="98%" border="1" align="center" cellspacing="0" bordercolor="#000000">
<tr>
<td><table width=100% height=270 align="center" cellpadding=0 cellspacing=0 >
<tbody>
<tr>
<td width="581" align=middle bgcolor="#E9DDBF" class=cellule><div align="left"><font color="#000000"><b><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">Chambres</font></b> </font></div></td>
</tr>
<tr>
<td bordercolor="#FFFFFF" bgcolor="#E9E2CF"><!-- Debut: Date départ et arrivé -->
<div align="left">
<table width="100%" border="1" cellpadding=0 cellspacing=2>
<tbody>
<tr>
<td width="50%" align=middle><p> </p>
<table width="200" border="1" align="center">
<tr>
<td><div align="center"><strong><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">Date d'arrivée </font></strong></div></td>
</tr>
<tr>
<td><div align="center">
<select size=1 name=select4 tabindex="10">
<option value=1 selected>1</option>
<option value=2>2</option>
<option value=3>3</option>
<option value=4>4</option>
<option value=5>5</option>
<option value=6>6</option>
<option value=7>7</option>
<option value=8>8</option>
<option value=9>9</option>
<option value=10>10</option>
<option value=11>11</option>
<option value=12>12</option>
<option value=13>13</option>
<option value=14>14</option>
<option value=15>15</option>
<option value=16>16</option>
<option value=17>17</option>
<option value=18>18</option>
<option value=19>19</option>
<option value=20>20</option>
<option value=21>21</option>
<option value=22>22</option>
<option value=23>23</option>
<option value=24>24</option>
<option value=25>25</option>
<option value=26>26</option>
<option value=27>27</option>
<option value=28>28</option>
<option value=29>29</option>
<option value=30>30</option>
<option value=31>31</option>
</select>
<select size=1 name=select4 tabindex="11">
<option value=Janvier selected>Jan</option>
<option value=Février>Fev</option>
<option
value=Mars>Mar</option>
<option value=Avril>Avr</option>
<option value=Mai>Mai</option>
<option
value=Juin>Juin</option>
<option value=Juillet>Juil</option>
<option value=Aout>Aout</option>
<option
value=Septembre>Sep</option>
<option
value=Octobre>Oct</option>
<option
value=Novembre>Nov</option>
<option
value=Décembre>Dec</option>
</select>
<select size=1 name=select4 tabindex="10">
<option value=1 selected>2006</option>
<option value=2>2007</option>
<option value=3>2008</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="center"><strong><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">Date de départ</font></strong></div></td>
</tr>
<tr>
<td><div align="center">
<select size=1 name=select2 tabindex="10">
<option value=1 selected>1</option>
<option value=2>2</option>
<option value=3>3</option>
<option value=4>4</option>
<option value=5>5</option>
<option value=6>6</option>
<option value=7>7</option>
<option value=8>8</option>
<option value=9>9</option>
<option value=10>10</option>
<option value=11>11</option>
<option value=12>12</option>
<option value=13>13</option>
<option value=14>14</option>
<option value=15>15</option>
<option value=16>16</option>
<option value=17>17</option>
<option value=18>18</option>
<option value=19>19</option>
<option value=20>20</option>
<option value=21>21</option>
<option value=22>22</option>
<option value=23>23</option>
<option value=24>24</option>
<option value=25>25</option>
<option value=26>26</option>
<option value=27>27</option>
<option value=28>28</option>
<option value=29>29</option>
<option value=30>30</option>
<option value=31>31</option>
</select>
<select size=1 name=select2 tabindex="11">
<option value=Janvier selected>Jan</option>
<option value=Février>Fev</option>
<option
value=Mars>Mar</option>
<option value=Avril>Avr</option>
<option value=Mai>Mai</option>
<option
value=Juin>Juin</option>
<option value=Juillet>Juil</option>
<option value=Aout>Aout</option>
<option
value=Septembre>Sep</option>
<option
value=Octobre>Oct</option>
<option
value=Novembre>Nov</option>
<option
value=Décembre>Dec</option>
</select>
<select size=1 name=select2 tabindex="10">
<option value=1 selected>2006</option>
<option value=2>2007</option>
<option value=3>2008</option>
</select>
</div></td>
</tr>
</table>
<p> </p></td>
<td width="50%" rowspan="4" align=middle><table border="1" align="center" cellpadding=0 cellspacing=2>
<tbody>
<tr>
<td width="90" align=middle><strong><font color="#000000" size="-1" face="Verdana, Arial, Helvetica, sans-serif">Nb chambre(s) </font></strong></td>
<td width="256" align=middle><span class="Style3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">Type de chambre </font></span></td>
</tr>
<tr>
<td align=middle><select name="nombre_ch" size="1" id="select" tabindex="16">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select></td>
<td align=middle><div align="left"><strong>Single                     380 Dhs</strong></div></td>
</tr>
<tr>
<td align=middle><select name="nombre_ch2" size="1" id="select3" tabindex="18">
<option value="0" selected>0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select></td>
<td align=middle><div align="left"><strong>Double                   440 Dhs </strong></div></td>
</tr>
<tr>
<td align=middle><select name="nombre_ch3" size="1" id="select5" tabindex="20">
<option value="0" selected>0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select></td>
<td align=middle><div align="left"><strong>Triple                      550 Dhs </strong></div></td>
</tr>
<tr>
<td align=middle><select name="select5" size="1" id="select7" tabindex="20">
<option value="0" selected>0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select></td>
<td align=middle><div align="left"><strong>Quadruple              660 Dhs </strong></div></td>
</tr>
<tr>
<td align=middle><select name="select5" size="1" id="select7" tabindex="20">
<option value="0" selected>0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select></td>
<td align=middle><div align="left"><strong>Petit Déjeuner        40 Dhs/pax</strong></div></td>
</tr>
<tr>
<td align=middle><select name="select3" size="1" id="select2" tabindex="20">
<option value="0" selected>0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select></td>
<td align=middle><div align="left"><strong>Menu Touristique 120 Dhs/pax </strong></div></td>
</tr>
</tbody>
</table>
<p align="center"><strong><font color="#8F2D0E" size="-1" face="Verdana, Arial, Helvetica, sans-serif">TPT/TS : 8 Dhs/pax/Nuit </font></strong></p></td>
</tr>





</tbody>
</table>
<!-- Fin: Date départ et arrivé -->

Posté

Salut,

Je ne vois pas vraiment où est le problème, si tu sais le faire avec 3 champs, c'est la même chose avec 10. :P

J'ai l'impression que tu confonds 2 choses, le formulaire et le script qui gère les données saisis et l'envoi par mail. :wacko:

Peut tu préciser ton problème ?

@++ ;)

Veuillez vous connecter pour commenter

Vous pourrez laisser un commentaire après vous êtes connecté.



Connectez-vous maintenant
×
×
  • Créer...