$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>"
The above table is the content of the mail.
$pdtname , $price and $qty contains productname, product price and product quantity.
$msgSent=@mail("[email protected]",$sub,$content,$headers);
If the user select one or more products
Is it possible to multiply the second row of the table inside the $content according to the number of products selected.