DynamicList - Multiple columns
<p><br />
First of all I am not very familiar with this.</p>

<pre><code> $dynamicListBody = "";
$sql = mysql_query("SELECT * FROM products WHERE category='Body' ORDER BY id ASC");
$productCount = mysql_num_rows($sql); // count the output amount
if ($productCount &gt; 0) {
    while($row = mysql_fetch_array($sql)){
             $id = $row["id"];
         $product_name = $row["product_name"];
         $details = $row["details"];
         $price = $row["price"];
         $date_added = strftime("%b %d, %Y", strtotime($row["date_added"]));
         $dynamicListBody .= '
         &lt;table width="95%"&gt;
              &lt;tr&gt;
               &lt;td width="10%"&gt;
        &lt;img style="border:#666 1px solid;" src="../stock_photos/' . $id . '.png" alt="' . $product_name . '" /&gt;
           &lt;/td&gt;
               &lt;td width="35%"&gt;
            &lt;span class=itmttl&gt;' . $product_name . '&lt;/span&gt;
        &lt;br /&gt;
                &lt;span class=text&gt;' . $details . '
                &lt;br /&gt;
                €' . $price . '&lt;/span&gt;
        &lt;br /&gt;
                &lt;form id="bd_itm1" name="bd_itm1" method="post" action="help_scripts/cart_functions.php"&gt;
                &lt;input type="hidden" name="pid" id="pid" value="&lt;?php echo $id; ?&gt;" /&gt;
                &lt;input type="submit" name="button" id="button" value="Add to Cart" /&gt;
                &lt;/form&gt;
           &lt;/td&gt;
           &lt;td width="5%"&gt;
           &lt;/td&gt;
           &lt;td width="10%"&gt;
           &lt;/td&gt;
           &lt;td width="35%"&gt;
        &lt;br /&gt;
        &lt;form id="bd_itm2" name="bd_itm2" method="post" action="help_scripts/cart_functions.php"&gt;
                &lt;input type="hidden" name="pid" id="pid" value="&lt;?php echo $id; ?&gt;" /&gt;
                &lt;input type="submit" name="button" id="button" value="Add to Cart" /&gt;
                &lt;/form&gt;
           &lt;/td&gt;
              &lt;/tr&gt;
             &lt;/table&gt;';
    }
} else {
    $dynamicListBody = "We have no products listed in our store yet";
}
mysql_close();
?&gt;
</code></pre>

<p>This displays my results in the first column  only. How can I display results in the second column as well<br />
like<br />
1 - a | 2 - b<br />
3 - c | ...<br />
without changing the above table layout? </p>
