[Solved] need this item in table and border like this form


this is the way to wrap your already exist php code in table, try it:

$e = array("item1", "item2", "item3", "item4", "item5", "item6", "item7", "item8", "item9", "item10", "item11", "item12");
$i = 0;
echo "<table border=1><tr>";    //tr to start the 1st row
foreach ($e as $value) {
    $i++;
    if ($i % 3 != 1)
        echo "<td>&nbsp;</td>";
    echo "<td>{$value}</td>";
    if ($i % 3 != 1)
        echo "</tr><tr>";
}
echo "</table>";

solved need this item in table and border like this form