This is a page where I have a table with some input that must be sent to another page using a form.
<form action="another-page.php" method="POST" id="action-form"></form>
<table id="filter-table" class="table table-striped">
<thead>
<tr>
<th> CODE </th>
<th> NAME </th>
<th> CONF </th>
<th> SELECT </th>
</tr>
</thead>
<tbody>
<tr>
<td>A0294850</td>
<td>Test</td>
<td>A792</td>
<td><input type="checkbox" name="[A0294850]checkbox" value="A0294850" form="action-form"></td>
</tr>
</tbody>
</table>
<div class="row-fluid">
<div class="span12 module_cont module_promo_text">
<div class="shortcode_promoblock ">
<div class="row-fluid">
<div class="span9 promo_text_block">
<h4>Submit the form</h4>
</div>
<div class="span3 promo_button_block">
<input type="submit" class="promo_button" value="OK" form="action-form">
</div>
</div>
</div>
</div><!--.module_cont -->
<div class="clear"><!-- ClearFIX --></div>
</div><!-- .row-fluid -->
In the other page ('another-page.php') I try to print the $_POST value but I receive an empty array as the response.
HERE IS THE CODE
<?php
print_r($_REQUEST); die();
?>
How should I submit the form?
I've tried also to include all the table and html code inside the tag of form but it also doesn't work.