Array not carrying data forward
<p>I have a form with 10 similar rows of data required. The form collects product codes, descriptions and quantities. I loop through 10 rows and use arrays to collect the information.</p>

<pre><code>$code = array();
$description = array();
$quantity = array();

&lt;?php
for($i=0; $i&lt;10; $i++){
    ?&gt;
    &lt;div class="quote-row"&gt;
        &lt;div class="quote-id"&gt;
            &lt;?php echo $i+1; ?&gt;
        &lt;/div&gt;
        &lt;div class="quote-code"&gt;
            &lt;input type="text" class="quotecode" name="&lt;?php echo $code[$i]; ?&gt;" /&gt;
        &lt;/div&gt;
        &lt;div class="quote-description"&gt;
            &lt;input type="text" class="quotedescription" name="&lt;?php echo $description[$i]; ?&gt;" /&gt;
        &lt;/div&gt;
        &lt;div class="quote-quantity"&gt;
            &lt;input type="text" class="quotequantity" name="&lt;?php echo $quantity[$i]; ?&gt;" /&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;?php
}
?&gt;
</code></pre>

<p>On the following page, I then use <code>$_POST['code'], $_POST['description'], $_POST['quantity']</code> to carry the data forward and attempt to use it. </p>

<p>My issue is that the data doesn't appear to be arriving?</p>

<p>Using the for loop, will I still be able to submit the form and take all the data forward?</p>

<p>Hope this is as informative as possible, thanks!</p>
