[Solved] How do I insert the value from a checkbox into MySQL in php? [duplicate]
First of all I would change these <form method=”post”> <input type=”hidden” name=”blah” value=”blah”> <input type=”checkbox” name=”cbox[]” value=”1″> <input type=”checkbox” name=”cbox[]” value=”1″> <input type=”checkbox” name=”cbox[]” value=”1″> <input type=”checkbox” name=”cbox[]” value=”1″> <input type=”checkbox” name=”cbox[]” value=”1″> <button type=”submit”>Submit</button> </form> As you wont be able to tell severside which one is checked currently you’ll get something like this if … Read more