in reply to checkbox and mysql select

Ok, ive figured out how to print to a table:
print "<table border=2>"; while (my @array = $sth->fetchrow_array()){ print "<tr><td>"; print "@array\n"; print "</td></tr>"; } print "</table>";
Im sure theres better ways, like giving each field its own cell, but that will serve its purpose for now. Can anyone suggest how I can alter this so that I can print out a column of checkboxes next to each row that I can select to delete the row from the table?

Replies are listed 'Best First'.
Re^2: checkbox and mysql select
by Corion (Patriarch) on Apr 13, 2008 at 19:08 UTC

    Maybe by printing the appropriate HTML for it?