##
print "";
####
print "\n"; # If you want all buttons in a single TD .. otherwise, this could be
while (my @data = $sth->fetchrow_array())
{
$unit_name = $data[0];
push(@unitNames, $unit_name);
print "$unit_name
";
print "";
}
# Close the TD or TR here..