0
I need help with my code. I'm trying to submit multiple checkbox values to my database but it always submits only one value.
3 Answers
+ 1
Are these checkboxes using the same names?
BTW: please share the code you're writing :)
0
Stef Schöningh yes, using the same names. How can I share the code please, there's no option for adding the screenshot
0
Panama Efevoke if you press the button to the left of the send button you can insert your code.
Anyways. Checkboxes shouldn't use the same names. If you give them different names it will solve your problem.
For example
<input type="checkbox" name=check1"/>
<input type="checkbox" name=check2"/>