E' piuttosto elementare:
Codice PHP:
<form method="post">
<input type='text' name="ciccio1" value="A"/ >
<input type='text' name="ciccio2" value="B" />
<input type="submit" />
</form>
<?php
if (!empty($_POST)) {
for($i = 1; $i <= 2; $i++) {
echo($_POST['ciccio' . $i]);
}
}
?>