title: Ho to get data from dynamic table
body: <p>i am new to php and got a problem, where I can not find the right answer for.
  My goal is to print an invoice from a MySQL database, but instead of directly throwing it trough fpdf, I want to to create a page, where the user can edit the values, that are finally printed.
  I have realized this with a dynamic table which looks like that:</p>
  <pre><code>&lt;?php
    while($aufstellung = mysqli_fetch_array($content)){
      $gesamtRechnungsSumme += $aufstellung['GesamtpreisZeit'];
      echo
      &quot;&lt;tr&gt;
      &lt;td&gt;&lt;input type='text' name='w_type' value=&quot;.$aufstellung['w_type'].&quot;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input type='text' name='dauer' value=&quot;.$aufstellung['Dauer'].&quot;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input type='text' name='price' value=&quot;.$aufstellung['price'].&quot;€&quot;.&quot;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input type='text' name='gesamtzeit' value=&quot; .$aufstellung['GesamtpreisZeit'].&quot;€&quot;.&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&quot;;
    } 
  </code></pre>
  <p>But now the amount of fields in table varies for every invoice. So how can I grab every single value as a constant like $_POST['XY'] in my fpdf page?</p>
  <p>Thank you for every idea.</p>