i have 2 checkboxes named EMD and HMD. now both EMD and HMD checkboxes has 2-2 another checkboxes in it named en_ner,en_kg and hn_ner,hn_kg. now all the inherit checkboxes have another 2-2 checkboxes in it. now i need to insert them in the database with its category wise. here is my html code
<div class="col-md-4" ">
<input id="english " name="englishMedium " class="form-control input-md " onclick="EnglishDIV() " type="checkbox " value="ENM " />
</div>
<table width="100% ">
<tr><td><label class="col-md-2 control-label "><b>Standards</b></label></td><td><label class="col-md-2 control-label "><b>Class</b></label></td></tr>
<tr>
<td>
<input id="N " name="en_ner " type="checkbox " value="N "><font size="3 "><b>Nursery</b></font>
</td>
<td>
<input id="A " name="en_nursury_a " type="checkbox " value="A " ><b>A</b>
<input id="B " name="en_nursury_b " type="checkbox " value="B " ><b>B</b>
</td>
</tr>
<tr>
<td>
<input id="JK " name="en_jrkg " type="checkbox " value="JK " ><font size="3 "><b>Junior KG</b></font>
</td>
<td>
<input id="A " name="en_jrkg_a " type="checkbox " value="A " ><b>A</b>
<input id="B " name="en_jrkg_b " type="checkbox " value="B " ><b>B</b>
</td>
</tr>
</table>
<div class="col-md-4 "">
<input id="english" name="hindi" class="form-control input-md" onclick="EnglishDIV()" type="checkbox" value="HNM" />
</div>
<table width="100%">
<tr>
<td><label class="col-md-2 control-label"><b>Standards</b></label></td>
<td><label class="col-md-2 control-label"><b>Class</b></label></td>
</tr>
<tr>
<td>
<input id="N" name="hn_ner" type="checkbox" value="N">
<font size="3"><b>Nursery</b></font>
</td>
<td>
<input id="A" name="hn_nursury_a" type="checkbox" value="A"><b>A</b>
<input id="B" name="hn_nursury_b" type="checkbox" value="B"><b>B</b>
</td>
</tr>
<tr>
<td>
<input id="JK" name="hn_kg" type="checkbox" value="JK">
<font size="3"><b>Junior KG</b></font>
</td>
<td>
<input id="A" name="hn_jrkg_a" type="checkbox" value="A"><b>A</b>
<input id="B" name="hn_jrkg_b" type="checkbox" value="B"><b>B</b>
</td>
</tr>
</table>
Aucun commentaire:
Enregistrer un commentaire