My script has the following array which was populated by a query...
1 => int 52
2 => int 51
3 => int 49
4 => int 39
5 => int 38
6 => int 10
7 => int 8
8 => int 6
9 => int 5
10 => int 2
11 => int 1
This script also has a Form, and when the user submits the Form, I want to pass the array above back to my script so it can be used on another query.
In order to do this, I tried to pass the $testArray via the $_POST array like this...
<!-- Column Headings -->
<th class='colSelect' />
<input name='testArray' type='checkbox' value='TRUE' />
At the top of my script is the following code to handle the Form being submitted...
However, when the Form is submitted, all I get is this output on my screen...
0 => string 'TRUE' (length=4)
Why isn't my $testArray being returned successfully in the $_POST array with all 11 values like described above?