I have a form with 4 select and a check boxex.
Each checkbox is related to a select box.
I am trying to submit the form in PHP so it will give me all checkboxes that user has checked and values of select boxes that are related to that checkboxes.
I have tried this:
$Type = $_POST['Type'];
$Check = $_POST['Check'];
foreach ($Check as $CheckStatename) {
foreach ($Type as $TypeStatename) {
echo $CheckStatename."->".$TypeStatename."<br />";
}
}
But it doesn't work, it only captures the checkboxes and I need values of the select boxes as well.