php foreach every 2 items 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
}