Perfecto ArturoGallegos
Se me habia olvidado que se le pueden asignar los índice.
para el que tenga duda de como armar el código, yo lo armé así.
Código HTML:
Ver original<form action="testsend.php" method="post"> <input type="text" name="txt[0]" /> <input type="checkbox" name="check[0]" value="1" />
<input type="text" name="txt[1]" /> <input type="checkbox" name="check[1]" value="1" />
<input type="text" name="txt[2]" /> <input type="checkbox" name="check[2]" value="1" />
Código PHP:
Ver originalforeach($_POST["txt"] as $key => $txt){
echo $txt."<br>";
echo $_POST["check"][$key]."<br>";
}