I've done this before but now I'm uanble to make this work...I'm trying a create an array of values that I can grab from $_POST. In my form I have:
<input type='checkbox' name='hello[a]' value='1' checked />
<input type='checkbox' name='hello[b]' value='0' />
<input type='checkbox' name='hello[c]' value='1' checked />
<input type='checkbox' name='hello[d]' value='1' checked />
After the form is submitted...and I print_r($_POST) it reads "[hello] => Array" but I simply can't find a way to access it's contents.
I've extracted and exploded, etc...no luck...
Is there something else I should be doing? I'd like to try to stick with the above convention "name=hello[asdf]" if it's possible.
Edit: This is strange...if I access $hello as a global (from within the function) I can get the array. If I access $POST['hello'] I can't. Even if I extract($POST) and then access $hello I still get "Array".
???