我有一个联系销售表格。我想在我的电子邮件 ID 中获取此表格数据,当此人填写值时,所有值数据都以电子邮件中的表格形式显示给我。我使用了以下代码,这些代码不显示用户 html 输入的值:
<tr>
<td width="298">First Name <span style="color:#FF0000">*</span></td>
<td width="37"> </td>
<td width="297">Last Name <span style="color:#FF0000">* </span></td>
</tr>
<tr>
<td><input type="text" name="fname" class="saleform" /></td>
<td> </td>
<td><input type="text" name="lname" class="saleform" /></td>
</tr>
<tr>
<td>Company <span style="color:#FF0000">* </span></td>
<td rowspan="2"> </td>
<td>Job Title <span style="color:#FF0000">* </span></td>
</tr>
<tr>
<td><input type="text" name="company" class="saleform" /></td>
<td><input type="text" name="job" class="saleform" /></td>
</tr>
<tr>
<td>Phone No <span style="color:#FF0000">* </span></td>
<td> </td>
<td>Email Id <span style="color:#FF0000">* </span></td>
</tr>
<tr>
<td><input type="text" name="phone" class="saleform" /></td>
<td> </td>
<td><input type="text" name="email" class="saleform" /></td>
</tr>
<tr>
<td>Comment and Question<span style="color:#FF0000"> *</span></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="3"><inp/td>
<textarea name="messages" class="saleform" style="width:647px; height:100px;"></textarea></td>
</tr>
<tr>
<td><input type="submit" class="button" value="Submit" align="left" style="margin-right:9px;" />
<input name="button2" type="reset" class="button" style="margin-right:9px;" value="Clear" align="left" /></td>
<td> </td>
<td width="297"> </td>
</tr>
</table>
</form>