me llega el mail pero sin las cantidades solicitadas, no se donde está el error
el form está en www.millennium.cl/sitio/pedido.php
porfa ayudenme es urgente
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
| |||
ayuda con form de pedido ayuda con form de pedido me llega el mail pero sin las cantidades solicitadas, no se donde está el error el form está en www.millennium.cl/sitio/pedido.php porfa ayudenme es urgente ![]()
__________________ rodrigo |
| |||
<table width="100%" border="0" cellpadding="0" cellspacing="0" > <tr> <td align="center" valign="top"> <? if (!$HTTP_POST_VARS){ ?> <form name="PEDIDOS" method="post" action=""> <table width="772" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF"> <tr align="left" bordercolor="#0066FF" bgcolor="#0066FF"> <td valign="top" bgcolor="#0066FF" class="Estilo8"><p class="Estilo11">Nombre<br> <input name="nombre " type="text" class="cantidad" id="nombre "> <br> Apellido<br> <input name="apellido" type="text" class="cantidad" id="apellido"> <br> <br> </p> </td> <td valign="top" bgcolor="#0066FF" class="Estilo8"><span class="Estilo11"><strong>Email<br> <input name="mail" type="text" class="cantidad" id="mail"> <br> Teléfono<br> <input name="telefono" type="text" class="cantidad" id="telefono"> </strong></span><strong><br> </strong></td> <td bgcolor="#0066FF" class="Estilo8"> </td> <td rowspan="2" bgcolor="#0066FF" class="Estilo8"> </td> </tr> <tr align="left" bordercolor="#0066FF" bgcolor="#0066FF"> <td bgcolor="#0066FF" class="Estilo8"><span class="Estilo11">IMPRESORAS EPSON</span></td> <td bgcolor="#0066FF" class="Estilo8"> </td> <td bgcolor="#0066FF" class="Estilo8"> </td> </tr> <tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF"> <td height="20" class="xl47">Reseteador CHIPs </td> <td width="408" height="20" class="xl61">Reseteador Universal para Epson </td> <td width="96" height="20" class="xl45">Todos </td> <td width="57" height="20" align="center"><input name="Reseteador CHIPs " type="text" class="cantidad" id="Reseteador CHIPs " size="6" maxlength="6"> </td> </tr> <tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF"> <td width="206" height="20" class="xl67">T048120 </td> <td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td> <td height="20" class="xl91">Negro </td> <td height="20" align="center"><input name="T048120 " type="text" class="cantidad" id="T048120 " size="6"> </td> </tr> <tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF"> <td width="206" height="20" class="xl67">T048220 </td> <td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td> <td height="20" class="xl91">Cyan </td> <td height="20" align="center"><input name="T048220 " type="text" class="cantidad" id="T048220 " size="6"> </td> </tr> <tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF"> <td width="206" height="20" class="xl67">T048320 </td> <td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td> <td height="20" class="xl91">M;agenta </td> <td height="20" align="center"><input name="T048320 " type="text" class="cantidad" id="T048320 " size="6"> </td> </tr> <tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF"> <td width="206" height="20" class="xl67">T048420 </td> <td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td> <td height="20" class="xl91">Yellow </td> <td height="20" align="center"><input name="T048420 " type="text" class="cantidad" id="T048420 " size="6"> </td> </tr> <tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF"> <td width="206" height="20" class="xl67">T048520 </td> <td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td> <td height="20" class="xl91">Cyan light </td> <td height="20" align="center"><input name="T048520 " type="text" class="cantidad" id="T048520 " size="6"> </td> </tr> <tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF"> <td width="206" height="20" class="xl67">T048620 </td> <td height="20" class="xl68">Epson Stylus Photo R300M/R300/RX 500 </td> <td height="20" class="xl91">Mag. Light </td> <td height="20" align="center"><input name="T048620 " type="text" class="cantidad" id="T048620 " size="6"> </td> </tr> <tr align="left" bordercolor="#FFFFFF" bgcolor="#CCCCFF"> <td width="206" height="20" class="xl49">T046120 </td> <td height="20" class="xl66">Epson Stylus C63/C83/CX6300 Black </td> </table> </form></td> <? }else{ //Estoy recibiendo el formulario, compongo el cuerpo $cuerpo = "PEDIDO\n"; $cuerpo .= "Nombre: " . $HTTP_POST_VARS["nombre"] . "\n"; $cuerpo .= "Apellido: " . $HTTP_POST_VARS["apellido"] . "\n"; $cuerpo .= "E-mail: " . $HTTP_POST_VARS["mail"] . "\n"; $cuerpo .= "Teléfono: " . $HTTP_POST_VARS["teléfono"] . "\n"; $cuerpo .= "Reseteador CHIPs: " . $HTTP_POST_VARS["Reseteador CHIPs"] . "\n"; $cuerpo .= "T048120: " . $HTTP_POST_VARS["T048120"] . "\n"; $cuerpo .= "T048220: " . $HTTP_POST_VARS["T048220"] . "\n"; $cuerpo .= "T048320: " . $HTTP_POST_VARS["T048320"] . "\n"; //mando el correo... mail("[email protected]","PEDIDO",$cuerpo); //doy las gracias por el envío echo("Muchas Gracias, el formulario fue enviado correctamente"); } ?> </tr> </table> </body> </html>
__________________ rodrigo |
| |||
les envio una muestra la primera parte es el ingreso de los datos y luego la forma en q se envia no se de php pero tome la base de un form q me enviaron y la modifiqué gracias por la ayuda
__________________ rodrigo |