$content="<table width='200' border='0'>
<tr>
<td>product name</td>
<td>Price</td>
<td>Qty</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>"
上表是郵件的內容。添加動態行到郵件內容
$pdtname , $price and $qty
包含產品名稱,產品價格和產品數量。
[email protected]("[email protected]",$sub,$content,$headers);
如果用戶選擇一個或多個產品
是否有可能根據所選擇的產品的數量乘以$content
內的表的第二行。
謝謝..它工作得很好.... – Anoop 2013-03-08 15:45:34