hi,
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">
                  <option>0</option>
                  <option>1</option>
                  <option>2</option>
                  <option>3</option>
                  <option>4</option>
                  <option>5</option>
                  <option>6</option>
                  <option>7</option>
                  <option>8</option>
                  <option>9</option>
                  <option>10</option>
                </select>
                </span></div></td>
          </tr>

if you are looking for the connection string please findout here www.connectionstrings.com and to relate two or more tables you need to link them by primary key and refering foreignkeys.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.