EDIT: I never got this working, it appears that "boxes" was not an array on the PHP side, instead was a String that said "Array." I switched to an AJAX solution and no longer need this answer. It will now be closed
So, this seems like a very simple question, but I have checkboxes generated from php in a form, then re-submitted to a php script for processing. Unfortunately, the array of checkboxes is EMPTY.
Here is my generated form code. (NOTE: the action is empty because its the same php file):
<form method="POST">
<input type="hidden" name="multi" value="1"> <-- Ignore this -->
<input type="hidden" name="test" value="1"> <-- Ignore this -->
<input type="hidden" name="EMAIL" value="[email protected]">
<input type="hidden" name="FNAME" value="John">
<input type="checkbox" name="boxes[]" value="Jennifer and Friends"> Jennifer and Friends<br>
<input type="checkbox" name="boxes[]" value="Worship with Rachel"> Worship with Rachel<br>
<input type="checkbox" name="boxes[]" value="Jim Gerhold: Relationship"> Jim Gerhold: Relationship<br>
<input type="checkbox" name="boxes[]" value="Maximize Others Leadership Resources" checked=""> Maximize Others Leadership Resources<br>
<input type="submit" value="Save">
</form>
Now when I print_r the $_POST array I get the following input:
Array
(
[multi] => 1
[test] => 1
[EMAIL] => <REMOVED>
[FNAME] => <REMOVED>
[boxes] => Array
)
And... in the chrome developer tool, I see the form data correctly:

And finally, a var_dump of $_POST['boxes'] returns
string(5) “Array”
Does anyone know how to retrieve the array, or why it is not appearing as a normal php array?
var_dumpinstead of print_r