0
我有一個聯繫銷售表單。我想要在我的電子郵件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>