question regarding email
<p>In <code>$_SESSION['cart']</code> there are multiple records with table. But when I trying to send email. Im only getting one table data. Please help me</p>

<pre><code>session_start();
$message = array();
foreach($_SESSION['cart'] as $key =&gt; $value) 
{
    $message ="&lt;table&gt;
                &lt;tr&gt;
                    &lt;td&gt;Product Image&lt;/td&gt;
                    &lt;td&gt;&lt;a href=".$value['txturl']."&gt;
                        &lt;img width =150  src=".$value['product_image']." /&gt;&lt;/a&gt;&lt;/td
                &lt;/tr&gt;
                 &lt;tr&gt;
                    &lt;td&gt;Product Name&lt;/td&gt;
                    &lt;td&gt;".$value['product_name']."&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;Product Price&lt;/td&gt;
                    &lt;td&gt;".$value['product_price']."&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;Shop Name&lt;/td&gt;
                    &lt;td&gt;".$value['shop_name']."&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;Quantity&lt;/td&gt;
                    &lt;td&gt;".$value['Quantity']."&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;Color&lt;/td&gt;
                    &lt;td&gt;".$value['color']."&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;Product_Type&lt;/td&gt;
                    &lt;td&gt;".$value['Product_Type']."&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;Remarks&lt;/td&gt;
                    &lt;td&gt;".$value['Remarks']."&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;Final Price&lt;/td&gt;
                    &lt;td&gt;".$value['final_price']."&lt;/td&gt;
                &lt;/tr&gt;

                &lt;/table&gt;"; 
}
    $to = "";
$subject = "Order Details";

$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

$from = "";
$headers .= 'From: Admin - Order Details &lt;admin.com&gt;' . "\r\n";
mail($to,$subject,$message,$headers);
</code></pre>
