 <p>If all you want to do is output each question (without any validation!) you don't need the question variable at all. Just do:</p> <pre><code>echo 'Question #' . ($i + 1) . ': ' . $_POST['question'][$i]; </code></pre>