I know how to process a contact form to a mail, but this is the first time I'm using checkboxes and I have no clue on how to send it...
here is the html code part:

<form id="form1" name="form1" method="post" action="">
                <table width="100%">
                  <tr class="info">
                    <td width="100" align="center" valign="middle">No. of copies</td>
                    <td width="660" align="center" valign="middle">Titles:</td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii" type="text" id="brknii" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="ulicanazivotot" value="checkbox" id="ulicanazivotot" />
                      THE STREET OF LIFE - A SCHOOL
                    </label></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii2" type="text" id="brknii2" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="ogledalonazivotot" value="checkbox" id="ogledalonazivotot" />
                      THE MIRROR OF LIFE
                    </label></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii3" type="text" id="brknii3" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="tolkulisepoznavame" value="checkbox" id="tolkulisepoznavame" />
                      DO WE KNOW EACHOTHER THAT LONG
                    </label></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii4" type="text" id="brknii4" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="adzera" value="checkbox" id="adzera" />
                      THEY FOUND ADZERA
                    </label></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii5" type="text" id="brknii5" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="medalnazivotot" value="checkbox" id="medalnazivotot" />
                      MEDAL OF LIFE
                    </label></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii6" type="text" id="brknii6" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="siniotzalez" value="checkbox" id="siniotzalez" />
                      THE BLUE SUNSET
                    </label></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii7" type="text" id="brknii7" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="saraevo" value="checkbox" id="saraevo" />
                      SARAEVO
                    </label></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii8" type="text" id="brknii8" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="smrtnotoibesmrtnoto" value="checkbox" id="smrtnotoibesmrtnoto" />
                      THE MORTAL AND IMMORTAL IN THE lITERATURE OF THE ROM'S IN MACEDONIA</label></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii9" type="text" id="brknii9" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="Skopje" value="checkbox" id="Skopje" />
                      SKOPJE
                    </label></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle"><input name="brknii10" type="text" id="brknii10" size="10" /></td>
                    <td width="660"><label>
                      <input type="checkbox" name="bitpazar" value="checkbox" id="Bitpazar" />
                      ON BIT PAZAR
                    </label></td>
                    </tr>
                  <tr>
                    <td colspan="2" align="right" valign="middle"><hr /></td>
                    </tr>
                  <tr>
                    <td width="100" align="right" valign="middle" class="info">Name:</td>
                    <td><input name="name" type="text" id="name" size="25" /></td>
                  </tr>
                  <tr>
                    <td align="right" valign="middle" class="info">Surname:</td>
                    <td><input name="name2" type="text" id="name2" size="35" /></td>
                  </tr>
                  <tr>
                    <td align="right" valign="middle" class="info">Company:</td>
                    <td><input name="name3" type="text" id="name3" size="35" /></td>
                  </tr>
                  <tr>
                    <td align="right" valign="middle" class="info">e-mail:</td>
                    <td><input name="name4" type="text" id="name4" size="35" /></td>
                  </tr>
                  <tr>
                    <td align="right" valign="middle" class="info">&nbsp;</td>
                    <td><input type="submit" name="Send" id="Send" value="Submit" /></td>
                  </tr>
                </table>
              </form>

A checkbox value will only be set only if it was selected. So a simple test will do

if(isset($_POST['check-box-name']){
//the checkbox was selected therefore do something
}
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.