Hola! ya realize varias pruebas y me sigue llegando igual, me llega el correo con nombre, address, etc.... pero no me llega loq ue el usuario escribe, ojala y me puedan ayudar porque ya hasta me diolio la cabeza de estar haciendo pruebas el codigo es el siguiente:
CODIGO HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Literature Request</title>
<style type="text/css">
<!--
#form1 table tr td {
font-family: Arial, Helvetica, sans-serif;
}
#form1 table tr td table {
color: #000;
}
-->
</style>
</head>
<body>
<form method="post" action="enviar.php" id="formulario" name="formulario">
<table width="200" border="0">
<tr>
<td><strong>Literature Request</strong></td>
</tr>
<tr>
<td><table width="200" border="0">
<tr>
<td>Company Name:</td>
<td><label>
<input name="companyname" type="text" id="companyname" size="40" maxlength="38" />
</label></td>
<td>Attention:</td>
<td><label>
<input name="attention" type="text" id="attention" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>Address:</td>
<td><label>
<input name="address" type="text" id="address" size="40" maxlength="38" />
</label></td>
<td>City:</td>
<td><label>
<input name="city" type="text" id="city" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>State:</td>
<td><label>
<input name="state" type="text" id="state" size="40" maxlength="38" />
</label></td>
<td>Phone:</td>
<td><label>
<input name="phone" type="text" id="phone" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>Zip:</td>
<td><label>
<input name="zipcode" type="text" id="zipcode" size="40" maxlength="38" />
</label></td>
<td>Email:</td>
<td><label>
<input name="email" type="text" id="email" size="40" maxlength="38" />
</label></td>
</tr>
</table></td>
</tr>
</table>
<table width="200" border="0">
<tr>
<td><h5><strong><em>Please provide customer information below if literature request address is different: </em></strong></h5></td>
</tr>
<tr>
<td><table width="200" border="0">
<tr>
<td>Company Name:</td>
<td><label>
<input name="companyname2" type="text" id="companyname2" size="40" maxlength="38" />
</label></td>
<td>Contact::</td>
<td><label>
<input name="attention2" type="text" id="attention2" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>City:</td>
<td><label>
<input name="city2" type="text" id="city2" size="40" maxlength="38" />
</label></td>
<td>Phone:</td>
<td><label>
<input name="phone2" type="text" id="phone2" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>State:</td>
<td><label>
<input name="state2" type="text" id="state2" size="40" maxlength="38" />
</label></td>
<td>Fax:</td>
<td><input name="fax" type="text" id="fax" size="40" maxlength="38" /></td>
</tr>
<tr>
<td>Zip:</td>
<td><input name="zipcode2" type="text" id="zipcode2" size="40" maxlength="38" /></td>
<td>Email:</td>
<td><input name="email2" type="text" id="zip2" size="40" maxlength="38" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="637" border="0">
<tr>
<td width="1193"><h5><strong><em>Literature Request</em></strong></h5></td>
</tr>
<tr>
<td><strong>Furniture Systems Customers</strong></td>
</tr>
<tr>
<td><table width="638" border="0">
<tr>
<td width="43" align="center"><em><strong>Qty</strong></em></td>
<td width="585"><em><strong>Item</strong></em></td>
</tr>
<tr>
<td align="center"><input name="qty" type="text" id="qty" size="5" maxlength="3" /></td>
<td>Corporative Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty2" type="text" id="qty2" size="5" maxlength="3" /></td>
<td>Matis Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty3" type="text" id="qty3" size="5" maxlength="3" /></td>
<td>Task Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty4" type="text" id="qty4" size="5" maxlength="3" /></td>
<td>Team Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty5" type="text" id="qty8" size="5" maxlength="3" /></td>
<td>Rapid Response Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty6" type="text" id="qty6" size="5" maxlength="3" /></td>
<td>Fabric Cards</td>
</tr>
<tr>
<td align="center"><input name="qty10" type="text" id="qty15" size="5" maxlength="3" /></td>
<td>Laminate Samples</td>
</tr>
<tr>
<td align="center"><input name="qty11" type="text" id="qty14" size="5" maxlength="3" /></td>
<td>Edge Samples</td>
</tr>
<tr>
<td align="center"><input name="qty12" type="text" id="qty13" size="5" maxlength="3" /></td>
<td>Hardware Samples</td>
</tr>
</table></td>
</tr>
<tr>
<td align="center"><input type="submit" name="button" id="button" value="Submit" />
<label>
<input type="reset" name="button2" id="button2" value="Reset" />
</label></td>
</tr>
</table>
<p> </p>
</form>
</body>
</html>
________________________________________________________
CODIGO PHP
<?php
$para = " micorreo@midominio.com ";
$asunto = " Literature Request ";
$remitente = $correo ;
$mensaje = "
---Datos de la Consulta---
Company Name: $companyname
Attention: $attention
Address: $address
City: $city
State: $state
Phone: $phone
Zip: $zipcode
Email: $email
Company Name: $companyname2
Contact: $attention2
City: $city2
State: $state2
Phone: $phone2
Fax: $fax
Zip: $zipcode2
Email: $email2
Corporative Brochure: $qty
Matis Brochure: $qty2
Task Brochure: $qty3
Team Brochure: $qty4
Rapid Response: $qty5
Fabric Cards: $qty6
Laminate Samplest: $qty9
Edge Samples: $qty10
Hardware Samples: $qty11
";
mail($para, $asunto, $mensaje, "From: $remitente");
include ("enviado.html");
?>
ojala y me puedan ayudar!! SALUDOS!!
CODIGO HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Literature Request</title>
<style type="text/css">
<!--
#form1 table tr td {
font-family: Arial, Helvetica, sans-serif;
}
#form1 table tr td table {
color: #000;
}
-->
</style>
</head>
<body>
<form method="post" action="enviar.php" id="formulario" name="formulario">
<table width="200" border="0">
<tr>
<td><strong>Literature Request</strong></td>
</tr>
<tr>
<td><table width="200" border="0">
<tr>
<td>Company Name:</td>
<td><label>
<input name="companyname" type="text" id="companyname" size="40" maxlength="38" />
</label></td>
<td>Attention:</td>
<td><label>
<input name="attention" type="text" id="attention" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>Address:</td>
<td><label>
<input name="address" type="text" id="address" size="40" maxlength="38" />
</label></td>
<td>City:</td>
<td><label>
<input name="city" type="text" id="city" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>State:</td>
<td><label>
<input name="state" type="text" id="state" size="40" maxlength="38" />
</label></td>
<td>Phone:</td>
<td><label>
<input name="phone" type="text" id="phone" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>Zip:</td>
<td><label>
<input name="zipcode" type="text" id="zipcode" size="40" maxlength="38" />
</label></td>
<td>Email:</td>
<td><label>
<input name="email" type="text" id="email" size="40" maxlength="38" />
</label></td>
</tr>
</table></td>
</tr>
</table>
<table width="200" border="0">
<tr>
<td><h5><strong><em>Please provide customer information below if literature request address is different: </em></strong></h5></td>
</tr>
<tr>
<td><table width="200" border="0">
<tr>
<td>Company Name:</td>
<td><label>
<input name="companyname2" type="text" id="companyname2" size="40" maxlength="38" />
</label></td>
<td>Contact::</td>
<td><label>
<input name="attention2" type="text" id="attention2" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>City:</td>
<td><label>
<input name="city2" type="text" id="city2" size="40" maxlength="38" />
</label></td>
<td>Phone:</td>
<td><label>
<input name="phone2" type="text" id="phone2" size="40" maxlength="38" />
</label></td>
</tr>
<tr>
<td>State:</td>
<td><label>
<input name="state2" type="text" id="state2" size="40" maxlength="38" />
</label></td>
<td>Fax:</td>
<td><input name="fax" type="text" id="fax" size="40" maxlength="38" /></td>
</tr>
<tr>
<td>Zip:</td>
<td><input name="zipcode2" type="text" id="zipcode2" size="40" maxlength="38" /></td>
<td>Email:</td>
<td><input name="email2" type="text" id="zip2" size="40" maxlength="38" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="637" border="0">
<tr>
<td width="1193"><h5><strong><em>Literature Request</em></strong></h5></td>
</tr>
<tr>
<td><strong>Furniture Systems Customers</strong></td>
</tr>
<tr>
<td><table width="638" border="0">
<tr>
<td width="43" align="center"><em><strong>Qty</strong></em></td>
<td width="585"><em><strong>Item</strong></em></td>
</tr>
<tr>
<td align="center"><input name="qty" type="text" id="qty" size="5" maxlength="3" /></td>
<td>Corporative Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty2" type="text" id="qty2" size="5" maxlength="3" /></td>
<td>Matis Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty3" type="text" id="qty3" size="5" maxlength="3" /></td>
<td>Task Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty4" type="text" id="qty4" size="5" maxlength="3" /></td>
<td>Team Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty5" type="text" id="qty8" size="5" maxlength="3" /></td>
<td>Rapid Response Brochure</td>
</tr>
<tr>
<td align="center"><input name="qty6" type="text" id="qty6" size="5" maxlength="3" /></td>
<td>Fabric Cards</td>
</tr>
<tr>
<td align="center"><input name="qty10" type="text" id="qty15" size="5" maxlength="3" /></td>
<td>Laminate Samples</td>
</tr>
<tr>
<td align="center"><input name="qty11" type="text" id="qty14" size="5" maxlength="3" /></td>
<td>Edge Samples</td>
</tr>
<tr>
<td align="center"><input name="qty12" type="text" id="qty13" size="5" maxlength="3" /></td>
<td>Hardware Samples</td>
</tr>
</table></td>
</tr>
<tr>
<td align="center"><input type="submit" name="button" id="button" value="Submit" />
<label>
<input type="reset" name="button2" id="button2" value="Reset" />
</label></td>
</tr>
</table>
<p> </p>
</form>
</body>
</html>
________________________________________________________
CODIGO PHP
<?php
$para = " micorreo@midominio.com ";
$asunto = " Literature Request ";
$remitente = $correo ;
$mensaje = "
---Datos de la Consulta---
Company Name: $companyname
Attention: $attention
Address: $address
City: $city
State: $state
Phone: $phone
Zip: $zipcode
Email: $email
Company Name: $companyname2
Contact: $attention2
City: $city2
State: $state2
Phone: $phone2
Fax: $fax
Zip: $zipcode2
Email: $email2
Corporative Brochure: $qty
Matis Brochure: $qty2
Task Brochure: $qty3
Team Brochure: $qty4
Rapid Response: $qty5
Fabric Cards: $qty6
Laminate Samplest: $qty9
Edge Samples: $qty10
Hardware Samples: $qty11
";
mail($para, $asunto, $mensaje, "From: $remitente");
include ("enviado.html");
?>
ojala y me puedan ayudar!! SALUDOS!!