I want to save the value of the checkbox that is checked in db in php. there are many checkbox here and I want to save the value of the selected checkbox. how can I handle it?
<html>
<body>
<input type="checkbox" name="category[]" value="1">
<input type="checkbox" name="category[]" value="2">
<input type="checkbox" name="category[]" value="3">
.
.
.
<input type="checkbox" name="category[]" value="1000">
</body>
</html>
Aucun commentaire:
Enregistrer un commentaire