Say your array is call products reference as such
prodcut[0] = \\"whatever\\"
products[1] = \\"whatever2\\"
and so on....
here is the php code to display it
print \\"<table>\\n\\";
for($x=0;$x<count($products); ) {
print \\"<tr><td>\\";
print $products[$x];
$x++;
print \\"</td><td>\\";
print $product[$x];
$x++;
print \\"</td><td>\\";
print $products[$x];
$x++;
print \\"</td></tr>\\n\\";
}
print \\"</table>\\";