Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/11/2012, 08:25
jmm87
 
Fecha de Ingreso: octubre-2012
Mensajes: 202
Antigüedad: 11 años, 6 meses
Puntos: 0
PHP para formulario de pedido

Buenos dias- Alguien me podria ayudar a crear el php para este html. Quiero q me envie a mi mail los datos de este html

Código HTML:
Ver original
  1. <form id="contacto" name="contacto" action="enviar.php" method="post">
  2. <label class="titulo">Cliente: <br>
  3. <input name="nombre" type="text" id="nombre" size="25"/></label><br>
  4.  
  5. <label class="titulo">E-mail: <br>
  6. <input name="email" type="email" id="email" size="25"/></label><br>
  7.  
  8. <label class="titulo">Telefono: <br>
  9. <input name="telefono" type="text" id="telefono" size="25"/></label><br><br>
  10.  
  11. <label class="titulo">Pedido:</label><br><br>
  12.  
  13. <style type="text/css">
  14. .titulo {
  15.     font-family:verdana,arial;
  16.     font-size:8pt;
  17.     font-weight:bold;
  18.     }
  19. .titulogr{
  20.     font-family:verdana,arial;
  21.     font-size:8pt;
  22.     font-weight:bold;
  23.     font-style: italic;
  24.     color:grey;
  25. }
  26. </style>
  27.  
  28. <table cellspacing="3">
  29. <tr>
  30.     <td class="titulogr">Cant.</td>
  31.     <td class="titulogr">Codigo(Art.)</td>
  32.     <td class="titulogr">Articulo</td>
  33. </tr>
  34. <tr>
  35.     <td>
  36.         <select>
  37.             <option>1</option>
  38.             <option>2</option>
  39.             <option>3</option>
  40.         </select>
  41.     </td>
  42.     <td>
  43.         <input name="articulo1" id="articulo1" size="12">
  44.     </td>
  45.     <td>
  46.         <input name="observaciones" id="observaciones" size="40">
  47.     </td>
  48. </tr>
  49. <tr>
  50.     <td>
  51.         <select>
  52.             <option>1</option>
  53.             <option>2</option>
  54.             <option>3</option>
  55.         </select>
  56.     </td>
  57.     <td>
  58.         <input name="articulo2" id="articulo2" size="12">
  59.     </td>
  60.     <td>
  61.         <input name="observaciones2" id="observaciones2" size="40">
  62.     </td>
  63. </tr>
  64. <tr>
  65.     <td>
  66.         <select>
  67.             <option>1</option>
  68.             <option>2</option>
  69.             <option>3</option>
  70.         </select>
  71.     </td>
  72.     <td>
  73.         <input name="articulo3" id="articulo3" size="12">
  74.     </td>
  75.     <td>
  76.         <input name="observaciones3" id="observaciones3" size="40">
  77.     </td>
  78. </tr>
  79. <tr>
  80.     <td>
  81.         <select>
  82.             <option>1</option>
  83.             <option>2</option>
  84.             <option>3</option>
  85.         </select>
  86.     </td>
  87.     <td>
  88.         <input name="articulo4" id="articulo4" size="12">
  89.     </td>
  90.     <td>
  91.         <input name="observaciones4" id="observaciones4" size="40">
  92.     </td>
  93. </tr>
  94.  
  95.  
  96.  
  97. <p><input type="submit" name ="submit" value="Enviar">
  98. <input type="reset" value="Borrar"></p>
  99.  
  100. </form>