Pulling all the form values from a posted array
I have this form:

    <form method="post" action="mypage.php" orderform="" name="" id="orderform">
    <a id="add">+</a>
     <table width="533" cellspacing="0" cellpadding="2" border="0" id="ordertable">
      <tbody>
        <tr>
          <td width="33%">Product Code (e.g 66203)</td>
          <td width="33%">mtrs sq Required (e.g 10)</td>
          <td width="33%">Preview Image</td>
        </tr>
        <tr class="item">
          <td class="prodcode "><input type="text" id="prodcode[]" name="prodcode[]" class=" "></td>
          <td class="meterage"><input type="text" id="meterage[]" name="meterage[]"></td>
          <td class="imgsample"></td>
        </tr>
        <tr class="item">
          <td class="prodcode "><input type="text" id="prodcode[]" name="prodcode[]" class=" "></td>
          <td class="meterage"><input type="text" id="meterage[]" name="meterage[]"></td>
          <td class="imgsample"></td>
        </tr>
        </tbody>
      </table>
      <button>Submit</button>
    </form>

I am trying to receive the post and print the associate product value with its meterage...as below ( this only seems to return the last result) any ideas?

        $number_of_products=count($_POST['prodcode']);
       for ( $i=0; $i<$number_of_products; $i++){
           $orderdetails = $_POST['prodcode'][$i]." has the meterage: ".$_POST['meterage'][$i]."<br/>";
       }
Pulling all the form values from a posted array
===

I have this form:

    <form method="post" action="mypage.php" orderform="" name="" id="orderform">
    <a id="add">+</a>
     <table width="533" cellspacing="0" cellpadding="2" border="0" id="ordertable">
      <tbody>
        <tr>
          <td width="33%">Product Code (e.g 66203)</td>
          <td width="33%">mtrs sq Required (e.g 10)</td>
          <td width="33%">Preview Image</td>
        </tr>
        <tr class="item">
          <td class="prodcode "><input type="text" id="prodcode[]" name="prodcode[]" class=" "></td>
          <td class="meterage"><input type="text" id="meterage[]" name="meterage[]"></td>
          <td class="imgsample"></td>
        </tr>
        <tr class="item">
          <td class="prodcode "><input type="text" id="prodcode[]" name="prodcode[]" class=" "></td>
          <td class="meterage"><input type="text" id="meterage[]" name="meterage[]"></td>
          <td class="imgsample"></td>
        </tr>
        </tbody>
      </table>
      <button>Submit</button>
    </form>

I am trying to receive the post and print the associate product value with its meterage...as below ( this only seems to return the last result) any ideas?

        $number_of_products=count($_POST['prodcode']);
       for ( $i=0; $i<$number_of_products; $i++){
           $orderdetails = $_POST['prodcode'][$i]." has the meterage: ".$_POST['meterage'][$i]."<br/>";
       }