Hi all, am trying to use bootstrap switch in my form. Am at a lost as to how to get the value of
name="onoffswitch"
from that field and insert it into mysql db, here is my code...
div class="onoffswitch">
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch" checked>
<label class="onoffswitch-label" for="myonoffswitch">
<div class="onoffswitch-inner"></div>
<div class="onoffswitch-switch"></div>
</label>
</div>