Hi buddys.
i put these HTML in my form:
<input type='checkbox' name='test[two][]' value='ITEM1' />
<input type='checkbox' name='test[two][]' value='ITEM2' />
<input type='checkbox' name='test[two][]' value='ITEM3' />
<input type='checkbox' name='test[two][]' value='ITEM4' />
I think if i submit it, it will show this is correct:
[test] => Array
(
[two] => Array (
[0] => 'ITEM1'
[1] => 'ITEM3'
)
)
but i submit this form, then i used print_r() to show the array of $_POST,
it showed:
[test] => Array
(
[two] => Array
)
It's just show a string that is 'Array'.
Why?
Thank you very much.