Hey there! So, I've got a question about handling multiple checkboxes with the same name in a form. Here's an example of what I'm working with:
<input type="checkbox" name="myname[]" value="1" />
<input type="checkbox" name="myname[]" value="1" />
<input type="checkbox" name="myname[]" value="2" />
<input type="checkbox" name="myname[]" value="3" />
<input type="checkbox" name="myname[]" value="4" />
I prefer to keep things simple and avoid using jQuery for this particular task. My goal is to serialize this form correctly for use in an ajax post request in PHP. Can you help me out with that?