title: Submit a dynamic table form through AJAX and get relatives values into PHP
body: <p>I have a table form like this:</p>
  
  <pre><code>&lt;table class="table table-striped table-bordered table-condensed"&gt;
              &lt;tbody&gt;
                  &lt;tr&gt;&lt;td&gt;&lt;input type="text" class="input-small" name="article" /&gt;&lt;/td&gt;
                      &lt;td&gt;
                          &lt;select name="colore"&gt;
                              &lt;option value="nabuk"&gt;Nabuk&lt;/option&gt;
                              &lt;option value="nero"&gt;Nero&lt;/option&gt;
                              &lt;option value="blu"&gt;Blu&lt;/option&gt;
                              &lt;option value="rosso"&gt;Rosso&lt;/option&gt;
                          &lt;/select&gt;
                       &lt;/td&gt;
                      &lt;td&gt;
                          &lt;select name="fondo"&gt;
                              &lt;option value="gomma"&gt;Gomma&lt;/option&gt;
                              &lt;option value="cuoio"&gt;Cuoio&lt;/option&gt;
                              &lt;option value="legno"&gt;Legno&lt;/option&gt;
                          &lt;/select&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;select name="numero"&gt;
                              &lt;option value="36"&gt;36&lt;/option&gt;
                              &lt;option value="37"&gt;37&lt;/option&gt;
                              &lt;option value="38"&gt;38&lt;/option&gt;
                              &lt;option value="39"&gt;39&lt;/option&gt;
                          &lt;/select&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="number" class="input-mini" min="1" max="200" name="qnt" step="1" /&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
  </code></pre>
  
  <p>The user can add many rows to this table with a Jquery script. This script is OK and work properly.
  After that, the table form is submitted through an Ajax post call to a PHP page with the <code>$('form').serialize();</code> function of Jquery.</p>
  
  <p>The problem is: how can I retrieve the values of each field of rows to the server side (PHP), without using hidden supplementary field (for example that submits the number of row in the table) or without use a progressive index for the name of the rows fields?</p>
  
  <p>I haven't found something that explains the solution... :|</p>
  
  <p>the next step of this script is passing the values of the table to the PHP with JSON object... but it's a secondary problem :)</p>