Se connecter / S'enregistrer
Votre question

Formulaire - Recevoir réponse, ajouter séparateur

Tags :
  • Select
  • Programmation
Dernière réponse : dans Programmation
15 Juillet 2009 02:17:50

Bonsoir, j'ai quelque petit problème avec un formulaire que voici:

  1. <div id="center_buy_new">
  2. <table border="0" cellpadding="0" cellspacing="0">
  3. <tr>
  4. <td>
  5. Jeux:
  6. </td>
  7. <td>
  8. <select name="DpListGame" onchange="javascript:setTimeout('__doPostBack(\'DpListGame\',\'\')', 0)" id="DpListGame">
  9. <option selected="selected" value="1">Dofus</option>
  10.  
  11. </select>
  12. </td>
  13. </tr>
  14. <tr>
  15. <td>
  16. Serveur:
  17. </td>
  18. <td>
  19. <select name="DpListServer" id="DpListServer" onchange="getKamas();">
  20. <option selected="selected" value="1">Aguabrial</option>
  21. <option value="2">Allister</option>
  22. <option value="3">Alma</option>
  23. <option value="4">Amayiro</option>
  24. <option value="5">Brumaire</option>
  25. <option value="6">Buhorado</option>
  26. <option value="7">Danathor</option>
  27. <option value="8">Dark Vlad</option>
  28. <option value="9">Djaul</option>
  29. <option value="10">Domen</option>
  30. <option value="11">Ecate</option>
  31. <option value="12">EreZiah</option>
  32. <option value="13">Goultard</option>
  33. <option value="14">Hecate</option>
  34. <option value="15">Hel Munster</option>
  35. <option value="16">Helsephine</option>
  36. <option value="17">Hyrkul</option>
  37. <option value="18">Jiva</option>
  38. <option value="19">Kuri</option>
  39. <option value="20">Lily</option>
  40. <option value="21">Maimane</option>
  41. <option value="22">Many</option>
  42. <option value="23">Menalt</option>
  43. <option value="24">Mylaise</option>
  44. <option value="25">Nehra</option>
  45. <option value="26">Oneshot Test</option>
  46. <option value="27">Oto Mustam</option>
  47. <option value="28">Otomai</option>
  48. <option value="29">Pouchecot</option>
  49. <option value="30">Raval</option>
  50. <option value="31">Rosal</option>
  51. <option value="32">Rushu</option>
  52. <option value="33">Rykke-Errel</option>
  53. <option value="34">Shika</option>
  54. <option value="35">Silouate</option>
  55. <option value="36">Silvosse</option>
  56. <option value="37">Solar</option>
  57. <option value="38">Spiritia</option>
  58. <option value="39">Sumens</option>
  59. <option value="40">Tinieblas</option>
  60. <option value="41">Ulette</option>
  61. <option value="42">Vil Smisse</option>
  62.  
  63. </select>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td>Pays:</td>
  68. <td><select name="ddlCountry" id="ddlCountry">
  69. <option value="0">Afghanistan</option>
  70. <option value="1">Albania</option>
  71. <option value="2">Algeria</option>
  72. <option value="3">American Samoa</option>
  73. <option value="4">Andorra</option>
  74. <option value="5">Angola</option>
  75. <option value="6">Anguilla</option>
  76. <option value="7">Antarctica</option>
  77. <option value="8">Antigua and Barbuda</option>
  78. <option value="9">Argentina</option>
  79. <option value="10">Armenia</option>
  80. <option value="11">Aruba</option>
  81. <option value="12">Australia</option>
  82. <option value="13">Austria</option>
  83. <option value="14">Azerbaijan</option>
  84. <option value="15">Bahamas</option>
  85. <option value="16">Bahrain</option>
  86. <option value="17">Bangladesh</option>
  87. <option value="18">Barbados</option>
  88. <option value="19">Belarus</option>
  89. <option value="20">Belgium</option>
  90. <option value="21">Belize</option>
  91. <option value="22">Benin</option>
  92. <option value="23">Bermuda</option>
  93. <option value="24">Bhutan</option>
  94. <option value="25">Bolivia</option>
  95. <option value="26">Bosnia and Herzegowina</option>
  96. <option value="27">Botswana</option>
  97. <option value="28">Bouvet Island</option>
  98. <option value="29">Brazil</option>
  99. <option value="30">British Indian Ocean Territory</option>
  100. <option value="31">Brunei Darussalam</option>
  101. <option value="32">Bulgaria</option>
  102. <option value="33">Burkina Faso</option>
  103. <option value="34">Burundi</option>
  104. <option value="35">Cambodia</option>
  105. <option value="36">Cameroon</option>
  106. <option value="37">Canada</option>
  107. <option value="38">Cape Verde</option>
  108. <option value="39">Cayman Islands</option>
  109. <option value="40">Central African Republic</option>
  110. <option value="41">Chad</option>
  111. <option value="42">Chile</option>
  112. <option value="43">China</option>
  113. <option value="44">Christmas Island</option>
  114. <option value="45">Cocos (Keeling) Islands</option>
  115. <option value="46">Colombia</option>
  116. <option value="47">Comoros</option>
  117. <option value="48">Congo</option>
  118. <option value="49">Congo, Democratic Republic</option>
  119. <option value="50">Cook Islands</option>
  120. <option value="51">Costa Rica</option>
  121. <option value="52">Cote d Ivoire</option>
  122. <option value="53">Croatia (Hrvatska)</option>
  123. <option value="54">Cuba</option>
  124. <option value="55">Cyprus</option>
  125. <option value="56">Czech Republic</option>
  126. <option value="57">Denmark</option>
  127. <option value="58">Djibouti</option>
  128. <option value="59">Dominica</option>
  129. <option value="60">Dominican Republic</option>
  130. <option value="61">East Timor</option>
  131. <option value="62">Ecuador</option>
  132. <option value="63">Egypt</option>
  133. <option value="64">El Salvador</option>
  134. <option value="65">Equatorial Guinea</option>
  135. <option value="66">Eritrea</option>
  136. <option value="67">Estonia</option>
  137. <option value="68">Ethiopia</option>
  138. <option value="69">FR Southern and Antarctic Lands</option>
  139. <option value="70">Falkland Islands (Malvinas)</option>
  140. <option value="71">Faroe Islands</option>
  141. <option value="72">Fiji</option>
  142. <option value="73">Finland</option>
  143. <option value="74">France</option>
  144. <option value="75">French Guiana</option>
  145. <option value="76">French Polynesia</option>
  146. <option value="77">Gabon</option>
  147. <option value="78">Gambia</option>
  148. <option value="79">Georgia</option>
  149. <option value="80">Germany</option>
  150. <option value="81">Ghana</option>
  151. <option value="82">Gibraltar</option>
  152. <option value="83">Greece</option>
  153. <option value="84">Greenland</option>
  154. <option value="85">Grenada</option>
  155. <option value="86">Guadeloupe</option>
  156. <option value="87">Guam</option>
  157. <option value="88">Guatemala</option>
  158. <option value="89">Guinea</option>
  159. <option value="90">Guinea-Bissau</option>
  160. <option value="91">Guyana</option>
  161. <option value="92">Haiti</option>
  162. <option value="93">Heard and Mc Donald Islands</option>
  163. <option value="94">Holy See (Vatican City State)</option>
  164. <option value="95">Honduras</option>
  165. <option value="96">Hong Kong</option>
  166. <option value="97">Hungary</option>
  167. <option value="98">Iceland</option>
  168. <option value="99">India</option>
  169. <option value="100">Indonesia</option>
  170. <option value="101">Iran (Islamic Republic of)</option>
  171. <option value="102">Iraq</option>
  172. <option value="103">Ireland</option>
  173. <option value="104">Israel</option>
  174. <option value="105">Italy</option>
  175. <option value="106">Jamaica</option>
  176. <option value="107">Japan</option>
  177. <option value="108">Jordan</option>
  178. <option value="109">Kazakhstan</option>
  179. <option value="110">Kenya</option>
  180. <option value="111">Kiribati</option>
  181. <option value="112">Korea, Republic of (South)</option>
  182. <option value="113">Korea, Democratic People s Republic of (North)</option>
  183. <option value="114">Kuwait</option>
  184. <option value="115">Kyrgyzstan</option>
  185. <option value="116">Lao People s Democratic Republic</option>
  186. <option value="117">Latvia</option>
  187. <option value="118">Lebanon</option>
  188. <option value="119">Lesotho</option>
  189. <option value="120">Liberia</option>
  190. <option value="121">Libyan Arab Jamahiriya</option>
  191. <option value="122">Liechtenstein</option>
  192. <option value="123">Lithuania</option>
  193. <option value="124">Luxembourg</option>
  194. <option value="125">Macau</option>
  195. <option value="126">Macedonia, The Former Yugoslav Republic of</option>
  196. <option value="127">Madagascar</option>
  197. <option value="128">Malawi</option>
  198. <option value="129">Malaysia</option>
  199. <option value="130">Maldives</option>
  200. <option value="131">Mali</option>
  201. <option value="132">Malta</option>
  202. <option value="133">Marshall Islands</option>
  203. <option value="134">Martinique</option>
  204. <option value="135">Mauritania</option>
  205. <option value="136">Mauritius</option>
  206. <option value="137">Mayotte</option>
  207. <option value="138">Mexico</option>
  208. <option value="139">Micronesia, Federated States of</option>
  209. <option value="140">Moldova, Republic of</option>
  210. <option value="141">Monaco</option>
  211. <option value="142">Mongolia</option>
  212. <option value="143">Montserrat</option>
  213. <option value="144">Morocco</option>
  214. <option value="145">Mozambique</option>
  215. <option value="146">Myanmar</option>
  216. <option value="147">Namibia</option>
  217. <option value="148">Nauru</option>
  218. <option value="149">Nepal</option>
  219. <option value="150">Netherlands</option>
  220. <option value="151">Netherlands Antilles</option>
  221. <option value="152">New Caledonia</option>
  222. <option value="153">New Zealand</option>
  223. <option value="154">Nicaragua</option>
  224. <option value="155">Niger</option>
  225. <option value="156">Nigeria</option>
  226. <option value="157">Niue</option>
  227. <option value="158">Norfolk Island</option>
  228. <option value="159">Northern Mariana Islands</option>
  229. <option value="160">Norway</option>
  230. <option value="161">Oman</option>
  231. <option value="162">Pakistan</option>
  232. <option value="163">Palau</option>
  233. <option value="164">Panama</option>
  234. <option value="165">Papua New Guinea</option>
  235. <option value="166">Paraguay</option>
  236. <option value="167">Peru</option>
  237. <option value="168">Philippines</option>
  238. <option value="169">Pitcairn</option>
  239. <option value="170">Poland</option>
  240. <option value="171">Portugal</option>
  241. <option value="172">Puerto Rico</option>
  242. <option value="173">Qatar</option>
  243. <option value="174">Reunion</option>
  244. <option value="175">Romania</option>
  245. <option value="176">Russian Federation</option>
  246. <option value="177">Rwanda</option>
  247. <option value="178">Saint Kitts and Nevis</option>
  248. <option value="179">Saint Lucia</option>
  249. <option value="180">Saint Vincent and the Grenadines</option>
  250. <option value="181">Samoa</option>
  251. <option value="182">San Marino</option>
  252. <option value="183">Sao Tome and Principe</option>
  253. <option value="184">Saudi Arabia</option>
  254. <option value="185">Senegal Marin</option>
  255. <option value="186">Serbia and Montenegro</option>
  256. <option value="187">Seychelles</option>
  257. <option value="188">Sierra Leone</option>
  258. <option value="189">Singapore</option>
  259. <option value="190">Slovakia (Slovak Republic)</option>
  260. <option value="191">Slovenia</option>
  261. <option value="192">Solomon Islands</option>
  262. <option value="193">Somalia</option>
  263. <option value="194">South Africa</option>
  264. <option value="195">South Georgia & Sandwich Islands</option>
  265. <option value="196">Spain</option>
  266. <option value="197">Sri Lanka</option>
  267. <option value="198">St. Helena</option>
  268. <option value="199">St. Pierre and Miquelon</option>
  269. <option value="200">Sudan</option>
  270. <option value="201">Suriname</option>
  271. <option value="202">Svalbard and Jan Mayen Islands</option>
  272. <option value="203">Swaziland</option>
  273. <option value="204">Sweden</option>
  274. <option value="205">Switzerland</option>
  275. <option value="206">Syrian Arab Republic</option>
  276. <option value="207">Taiwan, Province of China</option>
  277. <option value="208">Tajikistan</option>
  278. <option value="209">Tanzania, United Republic of</option>
  279. <option value="210">Thailand</option>
  280. <option value="211">Togo</option>
  281. <option value="212">Tokelau</option>
  282. <option value="213">Tonga</option>
  283. <option value="214">Trinidad and Tobago</option>
  284. <option value="215">Tunisia</option>
  285. <option value="216">Turkey</option>
  286. <option value="217">Turkmenistan</option>
  287. <option value="218">Turks and Caicos Islands</option>
  288. <option value="219">Tuvalu</option>
  289. <option value="220">USA</option>
  290. <option value="221">Uganda</option>
  291. <option value="222">Ukraine</option>
  292. <option value="223">United Arab Emirates</option>
  293. <option value="224">United Kingdom</option>
  294. <option value="225">United States Minor Outlying Islands</option>
  295. <option value="226">Uruguay</option>
  296. <option value="227">Uzbekistan</option>
  297. <option value="228">Vanuatu</option>
  298. <option value="229">Venezuela</option>
  299. <option value="230">Viet Nam</option>
  300. <option value="231">Virgin Islands (British)</option>
  301. <option value="232">Virgin Islands (U.S.)</option>
  302. <option value="233">Wallis and Futuna Islands</option>
  303. <option value="234">Western Sahara</option>
  304. <option value="235">Yemen</option>
  305. <option value="236">Zambia</option>
  306. <option value="237">Zimbabwe</option>
  307.  
  308. </select></td>
  309. </tr>
  310. <tr>
  311. <td>
  312. Code par:
  313. </td>
  314. <td>
  315. <select name="ddlSort" id="ddlSort">
  316. <option value="0">audiotel</option>
  317. <option value="1">sms</option>
  318. <option value="2">tickt surf</option>
  319. <option value="3">paysafecard</option>
  320.  
  321. </select>
  322. </td>
  323. </tr>
  324. <tr>
  325. <td>
  326. Nombre de code:
  327. </td>
  328. <td>
  329. <div style=" float:left; width:45px;">
  330. <select name="selCodeNum" id="selCodeNum" onchange="calcKamasTotal();">
  331. <option value="1">1</option>
  332. <option value="2">2</option>
  333. <option value="3">3</option>
  334. <option value="4">4</option>
  335. <option value="5">5</option>
  336. <option value="6">6</option>
  337. <option value="7">7</option>
  338. <option value="8">8</option>
  339. <option value="9">9</option>
  340. <option value="10">10</option>
  341. <option value="11">11</option>
  342. <option value="12">12</option>
  343. <option value="13">13</option>
  344. <option value="14">14</option>
  345. <option value="15">15</option>
  346. <option value="16">16</option>
  347. <option value="17">17</option>
  348. <option value="18">18</option>
  349. <option value="19">19</option>
  350. <option value="20">20</option>
  351. <option value="21">21</option>
  352. <option value="22">22</option>
  353. <option value="23">23</option>
  354. <option value="24">24</option>
  355. <option value="25">25</option>
  356. <option value="26">26</option>
  357. <option value="27">27</option>
  358. <option value="28">28</option>
  359. <option value="29">29</option>
  360. <option value="30">30</option>
  361. <option value="31">31</option>
  362. <option value="32">32</option>
  363. <option value="33">33</option>
  364. <option value="34">34</option>
  365. <option value="35">35</option>
  366. <option value="36">36</option>
  367. <option value="37">37</option>
  368. <option value="38">38</option>
  369. <option value="39">39</option>
  370. <option value="40">40</option>
  371. <option value="41">41</option>
  372. <option value="42">42</option>
  373. <option value="43">43</option>
  374. <option value="44">44</option>
  375. <option value="45">45</option>
  376. <option value="46">46</option>
  377. <option value="47">47</option>
  378. <option value="48">48</option>
  379. <option value="49">49</option>
  380. <option value="50">50</option>
  381.  
  382. </select>
  383. </div>
  384.  
  385. <div style="overflow: hidden; float: left; line-height: 20px;">kamas:
  386. </div>
  387. <div style="background-color:White; height:20px; width:80px; float:left; line-height:20px; color:Black; padding-left:2px;"><span id="spanTotalKamas">0</span></div>
  388. <!-- <input onclick="showCdKeyList()" style="height: 20px; width: 91px;" type="button"
  389. value="fill code" /><img id="CdKeyConfirmImg" alt="确定" height="15" src="images/cha.gif"
  390. style="margin-left: 5px;" width="15" />-->
  391. </td>
  392. </tr>
  393. <tr style="display:none;">
  394. <td>
  395. </td>
  396. <td id="tdKamas" style="color: Red;">
  397.  
  398.  
  399.  
  400. 1 cdKey换 <span id="spanChangeUnitSpec">0</span> kamas <br />
  401. 10 cdKey赠送 <span id="spanGiftUnitSpec">0</span> kamas<br />
  402.  
  403. 兑换 <span id="spanChangeUnit">0</span> kamas<br />
  404. 赠送 <span id="spanGiftUnit">0</span> kamas
  405.  
  406.  
  407. </td>
  408. </tr>
  409. <tr>
  410. <td>
  411. Email:
  412. </td>
  413. <td>
  414. <input name="txtEmail" type="text" id="txtEmail" />
  415. </td>
  416. </tr>
  417. <tr>
  418. <td>
  419. Telephone:
  420. </td>
  421. <td>
  422. <input name="txtPhone" type="text" id="txtPhone" />
  423. </td>
  424. </tr>
  425.  
  426. <tr>
  427. <td>
  428. Nom DOFUS:
  429. </td>
  430. <td>
  431. <input name="txtRole" type="text" id="txtRole" />
  432. </td>
  433. </tr>
  434. <tr>
  435. <td>Code 8 caractères:</td>
  436. <td>
  437. <input onclick="showCdKeyList()" style="height: 20px;" type="button"
  438. value="ici" /></td>
  439. </tr>
  440. <tr>
  441. <td>
  442. </td>
  443. <td style="color: Red;">
  444. Tu as <span id="cdKeyConfirmNum">0</span> Code<br />
  445. </td>
  446. </tr>

Tous d'abord j'aimerais recevoir les réponses de se formulaire directement dans ma boite hotmail sans passer par outlook ...

Deuxièmement j'aimerais qu"il y est un séparateur ici :

http://img129.imageshack.us/img129/7551/buge.jpg

Ce qui donneras ceci :

http://img269.imageshack.us/img269/5627/bug2q.jpg

S'il vous plait aidez moi !

En vous remerciant d'avance :) 

Cordialement, birouly63.

Autres pages sur : formulaire recevoir reponse ajouter separateur

15 Juillet 2009 09:03:48

Bonjour,

Fonction mail(); php...
Pour la séparation, PGM à donné la réponse.
m
0
l
Contenus similaires
15 Juillet 2009 12:13:35

j'ai tester avec la fonction mail mes soit sa marche pas soit je ni mes pas au bonne endroit ^^

Merci de vos réponse :) 
m
0
l
15 Juillet 2009 12:42:44

Bah fais voir se que tu as fais...
m
0
l
15 Juillet 2009 14:11:08

bah ses en haut ...
m
0
l
15 Juillet 2009 16:36:58

Allstar27, je ne sais pas si birouly63 a déjà compris ce qu'il veut faire lui même au niveau de la réponse par mail.

Il dit qu'il ne veut pas passer par outlook, mais directement dans sa boite de réception.
Bah, pour ce faire, il n'utilise pas outlook ><
m
0
l
15 Juillet 2009 16:52:47

Ses bon résolu j'ai utiliser un autre formulaire ^^ et j'ai pris un code cmd.php A+ merci
m
0
l
Tom's guide dans le monde
  • Allemagne
  • Italie
  • Irlande
  • Royaume Uni
  • Etats Unis
Suivre Tom's Guide
Inscrivez-vous à la Newsletter
  • ajouter à twitter
  • ajouter à facebook
  • ajouter un flux RSS