php for each loop 2 values code example
Example: for each multiple php
foreach($_POST['an_array'] as $key => $an_array) {
$another_array = $_POST['another_array'][$key];
//do whatevercrap you wanna do
}
foreach($_POST['an_array'] as $key => $an_array) {
$another_array = $_POST['another_array'][$key];
//do whatevercrap you wanna do
}