i hav some problem involving checkboxes
1.how do i submit the values into the database
2.i dont know how to connect with the db
below is the sample of my codings

p/s;the values of the checkbox will have calculation in the db,can i relate two tables?

<td><input type="checkbox" name="checkbox10" value="A001" /> <font face="Verdana, Arial, Helvetica, sans-serif"> 
              Plain Rice</font></td>
            <td><div align="center"><span class="style3"> 
                <select name="select" id="select">