I have a simple form,
HTML Code:
<form method="POST" action="#">
<legend>All images inside 1 directory</legend>
<input type='checkbox' value='1383680050-(at).svg.png' name='image_to_move[]' />
<img src=images/1/1383680050-(at).svg.png style='height:70px' />
<input type='checkbox' value='1383680050-252.png' name='image_to_move[]' />
<img src=images/1/1383680050-252.png style='height:70px' />
<input type='checkbox' value='1383680050-258.JPG' name='image_to_move[]' />
<img src=images/1/1383680050-258.JPG style='height:70px' />
<input type='checkbox' value='1383680050-avatar.jpg' name='image_to_move[]' />
<img src=images/1/1383680050-avatar.jpg style='height:70px' />
<input type="submit" value="Move Images" />
But When I submit and check the _POST[] and the image_to_move[]
PHP Code:
echo "<pre>"print_r($_POST); echo "</pre>";
"<pre>"print_r($image_to_move); echo "</pre>"
All I get is
[image_to_move] => Array
[0] => 1383680050-252.png


why is the 2nd array shown as not there?