I am creating a set of checkboxes dynamically using PHP based on the value from databases.My requirement is to get the ID of the checked checkboxes and pass it to the next page when user clicks the submit button via POST.I am not using AJAX.
For example I need something like this
first page:
<input type="checkbox" name="check[]" id="checkme<?php echo var; ?>">.......
secondpage.php:
$getcheckboxID = $_POST['check[]']