Hi
I have decided to create an array of my checkboxes. getting them from my DB.
what I would like to do is to put them into rows. there are 9 checkboxes.
Here is my code. it lists them just in one row.
echo "<TR>";
$sql = "SELECT * FROM interests ORDER BY id ASC";
$result = @($sql);
WHILE ($row = @mysql_fetch_array($result))
{
$id = $row['id'];
$value =htmlspecialchars($row['value']);
echo "<TD colspan=3><input type=Checkbox value=$id>$value</TD>";
}
echo "</TR>";
how do I make 3 rows of 3? Thanks in advance Joe